x86: zboot: Allow overriding the command line
authorSimon Glass <sjg@chromium.org>
Sat, 5 Sep 2020 20:50:51 +0000 (14:50 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:10 +0000 (11:27 +0800)
commit4f96023afd9c6ff97634e334e8f536837c42ea78
treeaa9317d17f2e8ee042e91aaa2530e21c1fb8d712
parent631c2b9fc4978685885a826788ba05a5329c6418
x86: zboot: Allow overriding the command line

When booting Chrome OS images the command line is stored separately
from the kernel. Add a way to specify this address so that images boot
correctly.

Also add comments to the zimage.h header.

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: adjust maxargs to 8 for 'zboot start']
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/zimage.h
arch/x86/lib/bootm.c
arch/x86/lib/zimage.c