x86: Allow building an SPL image for coreboot
authorSimon Glass <sjg@chromium.org>
Fri, 1 May 2020 03:21:40 +0000 (21:21 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 4 May 2020 07:28:28 +0000 (15:28 +0800)
commitc2018cdd717732f3fc4b2bb9005d8c2e73088762
treeb58ca1efe7a7541a3c63933865d69f4fa3179ca4
parent7ec0e7b6356b12f495b780ecdb25b14204b62a9f
x86: Allow building an SPL image for coreboot

Coreboot runs in 32-bit mode and cannot run a 64-bit U-Boot. To get around
this we can build a combined image with 32-bit SPL and 64-bit U-Boot. Add
a build rule and binman definition for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Makefile
arch/x86/cpu/coreboot/Kconfig
arch/x86/dts/coreboot-u-boot.dtsi [new file with mode: 0644]