aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2021-07-13 17:17:34 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-07-15 14:02:32 +0000
commit48d6717573819f38039788581184677682578468 (patch)
tree51813a371d7b314bd0353e690f87bcc5b66bfc15 /src/mainboard
parent6da003c9104e7d30538ee11346965926adc98986 (diff)
mb/google/guybrush: Make VBOOT_STARTS_BEFORE_BOOTBLOCK a default
To be able to enable & disable PSP_verstage in the saved .config file, the symbol VBOOT_STARTS_BEFORE_BOOTBLOCK needs to be changed from a select to a default with a prompt. BUG=182477057 TEST=Build, get PSP_verstage, disable VBOOT_STARTS_BEFORE_BOOTBLOCK, verify that VBOOT_STARTS_IN_BOOTBLOCK is set. Signed-off-by: Martin Roth <martinroth@chromium.org> Change-Id: Iba735f33f9b079c9868ef2fff099c5298ff72b6a Reviewed-on: https://review.coreboot.org/c/coreboot/+/56289 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Kangheui Won <khwon@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/guybrush/Kconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/google/guybrush/Kconfig b/src/mainboard/google/guybrush/Kconfig
index f9c577ad20..b57fc62a72 100644
--- a/src/mainboard/google/guybrush/Kconfig
+++ b/src/mainboard/google/guybrush/Kconfig
@@ -48,7 +48,14 @@ config CHROMEOS
config VBOOT
select VBOOT_LID_SWITCH
select VBOOT_SEPARATE_VERSTAGE
- select VBOOT_STARTS_BEFORE_BOOTBLOCK
+
+config VBOOT_STARTS_BEFORE_BOOTBLOCK
+ bool "Enable PSP_verstage"
+ default y if VBOOT
+
+config VBOOT_STARTS_IN_BOOTBLOCK
+ bool
+ default y if VBOOT && !VBOOT_STARTS_BEFORE_BOOTBLOCK
config VBOOT_STARTS_IN_BOOTBLOCK
select NO_EARLY_BOOTBLOCK_POSTCODES