summaryrefslogtreecommitdiff
path: root/src/mainboard/google/mancomb/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/mancomb/bootblock.c')
-rw-r--r--src/mainboard/google/mancomb/bootblock.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainboard/google/mancomb/bootblock.c b/src/mainboard/google/mancomb/bootblock.c
index b57ab3c5bb..11391efd1e 100644
--- a/src/mainboard/google/mancomb/bootblock.c
+++ b/src/mainboard/google/mancomb/bootblock.c
@@ -7,6 +7,9 @@ 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);
+ }
}