]> git.baikalelectronics.ru Git - uboot.git/commit
x86: zboot: Set up a sub-command structure
authorSimon Glass <sjg@chromium.org>
Sat, 5 Sep 2020 20:50:43 +0000 (14:50 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:08 +0000 (11:27 +0800)
commit0610a57fe2fce499095ad63d96168ba1e62c44d1
tree284b6a49d48ba47a7a439191ca4cd982da193f2e
parent79104a8f955343cb3812573a128d781d549c57ed
x86: zboot: Set up a sub-command structure

Add subcommands to zboot. At present there is only one called 'start'
which does the whole boot. It is the default command so is optional.

Change the 's' string variable to const while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: reduce maxargs to 6 of 'zboot start' subcommand]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/zimage.c