x86: zboot: Add a 'go' subcommand
authorSimon Glass <sjg@chromium.org>
Sat, 5 Sep 2020 20:50:44 +0000 (14:50 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:08 +0000 (11:27 +0800)
commit88f1cd6c2a9f3418aa845ced90771e1333221ace
treeb54b3240795b97f1fcd4fe206374cff2b99b5226
parent5588e776b02d65afeae612d3dde92e7add2e03cc
x86: zboot: Add a 'go' subcommand

Split out the code that actually boots linux into a separate sub-command.
Add base_ptr to the state to support this.

Show an error if the boot fails, since this should not happen.

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>
arch/x86/lib/zimage.c