summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/guybrush/bootblock.c')
-rw-r--r--src/mainboard/google/guybrush/bootblock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/google/guybrush/bootblock.c b/src/mainboard/google/guybrush/bootblock.c
index 5eacd0b9d0..4b11bd0545 100644
--- a/src/mainboard/google/guybrush/bootblock.c
+++ b/src/mainboard/google/guybrush/bootblock.c
@@ -11,8 +11,10 @@ void bootblock_mainboard_early_init(void)
size_t num_gpios;
const struct soc_amd_gpio *gpios;
- gpios = variant_bootblock_gpio_table(&num_gpios);
- program_gpios(gpios, num_gpios);
+ if (!CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK)) {
+ gpios = variant_early_gpio_table(&num_gpios);
+ program_gpios(gpios, num_gpios);
+ }
if (CONFIG(GPIO_SIGN_OF_LIFE)) {
for (int x = 0; x < 20; x++) {