]> git.baikalelectronics.ru Git - uboot.git/commit
x86: zboot: Allow setting a separate setup base address
authorSimon Glass <sjg@chromium.org>
Sat, 5 Sep 2020 20:50:49 +0000 (14:50 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:10 +0000 (11:27 +0800)
commita2d296a4fb09997326a4364507e4fcd15d7fd370
tree599e2b2eadd607d9d6944df3924aefeb4d42dd09
parent8a863aada68ceb90baae985542aa3d49387d9a79
x86: zboot: Allow setting a separate setup base address

At present the setup block is always obtained from the image
automatically. In some cases it can be useful to use a setup block
obtained elsewhere, e.g. if the image has already been unpacked. Add an
argument to support this and update the logic to use it if provided.

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 7 for 'zboot start']
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/zimage.c