x86: Use CONFIG_CHROMEOS_VBOOT for verified boot
authorSimon Glass <sjg@chromium.org>
Wed, 4 Nov 2020 16:57:35 +0000 (09:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 01:51:31 +0000 (09:51 +0800)
commit96d0aa91430b885eed2a01f0b9edc0107687ab06
treed74bac4abec8b51f73497b7faf899a26d4dfacf8
parent08059c9c02b1e87add0f2409d15ab5cdc745b6fd
x86: Use CONFIG_CHROMEOS_VBOOT for verified boot

At present CONFIG_CHROMEOS is used to determine whether verified boot is
in use. The code to implement that is not in U-Boot mainline.

However, it is useful to be able to boot a Chromebook in developer mode
in U-Boot mainline without needing the verified boot code.

To allow this, use CONFIG_CHROMEOS_VBOOT to indicate that verified boot
should be used, and CONFIG_CHROMEOS to indicate that the board supports
Chrome OS. That allows us to define CONFIG_CHROMEOS on coral.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/apollolake/acpi.c
arch/x86/dts/chromebook_coral.dts
arch/x86/dts/chromebook_samus.dts
arch/x86/include/asm/intel_gnvs.h
arch/x86/lib/tpl.c
common/Kconfig.boot
configs/chromebook_coral_defconfig