diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-04 19:57:35 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-11-06 04:51:31 +0300 |
commit | 96d0aa91430b885eed2a01f0b9edc0107687ab06 (patch) | |
tree | d74bac4abec8b51f73497b7faf899a26d4dfacf8 /arch/x86/cpu/apollolake | |
parent | 08059c9c02b1e87add0f2409d15ab5cdc745b6fd (diff) | |
download | u-boot-96d0aa91430b885eed2a01f0b9edc0107687ab06.tar.xz |
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>
Diffstat (limited to 'arch/x86/cpu/apollolake')
-rw-r--r-- | arch/x86/cpu/apollolake/acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/cpu/apollolake/acpi.c b/arch/x86/cpu/apollolake/acpi.c index 69b544f0d9..5af8a181b1 100644 --- a/arch/x86/cpu/apollolake/acpi.c +++ b/arch/x86/cpu/apollolake/acpi.c @@ -75,7 +75,8 @@ int acpi_create_gnvs(struct acpi_global_nvs *gnvs) /* TODO(sjg@chromium.org): Add the console log to gnvs->cbmc */ -#ifdef CONFIG_CHROMEOS +/* Disable this code until a later patch */ +#if 0 /* Initialise Verified Boot data */ chromeos_init_acpi(&gnvs->chromeos); gnvs->chromeos.vbt2 = ACTIVE_ECFW_RO; |