]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: cros: Check ROM exists before building vboot
authorSimon Glass <sjg@chromium.org>
Sun, 27 Jun 2021 23:51:09 +0000 (17:51 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 15 Jul 2021 11:50:25 +0000 (19:50 +0800)
commit54e0bd1728a4db60fd87a5c385250e173d03674e
treede65f807247e0e4b7ac13c1b276e09bf0b09256b
parente74d0ec80bfd4a8326008836dfc81099382a41b5
x86: cros: Check ROM exists before building vboot

All the x86 devicetree files are built at once, whichever board is
actually being built. If coreboot is the target build, CONFIG_ROM_SIZE
is not defined and samus cannot build Chromium OS verified boot. Add
this condition to avoid errors about CONFIG_ROM_SIZE being missing.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/x86/dts/chromebook_coral.dts
arch/x86/dts/chromebook_samus.dts