x86: zboot: Add an 'load' subcommand
authorSimon Glass <sjg@chromium.org>
Sat, 5 Sep 2020 20:50:46 +0000 (14:50 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:09 +0000 (11:27 +0800)
commit1d9e4bb75588f8de8439c03d7e0d1be2f869dfd5
tree75ace448d8bda0e1d39d01d90fe1904bd35e89af
parent6f873f5fc64809a6fabb4dda926765683743a638
x86: zboot: Add an 'load' subcommand

Add a subcommand that loads the kernel into the right places in memory.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: adjust ZBOOT_STATE_INFO value to match the command order]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/zimage.c