summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/guybrush/Makefile.inc2
-rw-r--r--src/mainboard/google/guybrush/verstage.c9
2 files changed, 1 insertions, 10 deletions
diff --git a/src/mainboard/google/guybrush/Makefile.inc b/src/mainboard/google/guybrush/Makefile.inc
index 56ef2b38b2..cdfb53bd63 100644
--- a/src/mainboard/google/guybrush/Makefile.inc
+++ b/src/mainboard/google/guybrush/Makefile.inc
@@ -12,7 +12,7 @@ ramstage-$(CONFIG_CHROMEOS) += chromeos.c
all-y += spi_speeds.c
-verstage-y += verstage.c
+verstage-$(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK) += verstage.c
verstage-$(CONFIG_CHROMEOS) += chromeos.c
subdirs-y += variants/baseboard
diff --git a/src/mainboard/google/guybrush/verstage.c b/src/mainboard/google/guybrush/verstage.c
index 35bfa0a1da..f827fddbb8 100644
--- a/src/mainboard/google/guybrush/verstage.c
+++ b/src/mainboard/google/guybrush/verstage.c
@@ -13,9 +13,6 @@ void verstage_mainboard_early_init(void)
const struct soc_amd_gpio *gpios, *override_gpios;
size_t num_gpios, override_num_gpios;
- if (!CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK))
- return;
-
gpios = variant_early_gpio_table(&num_gpios);
override_gpios = variant_early_override_gpio_table(&override_num_gpios);
gpio_configure_pads_with_override(gpios, num_gpios, override_gpios, override_num_gpios);
@@ -27,9 +24,6 @@ void verstage_mainboard_espi_init(void)
size_t num_gpios;
uint32_t dword;
- if (!CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK))
- return;
-
gpios = variant_espi_gpio_table(&num_gpios);
gpio_configure_pads(gpios, num_gpios);
@@ -52,9 +46,6 @@ void verstage_mainboard_tpm_init(void)
const struct soc_amd_gpio *gpios;
size_t num_gpios;
- if (!CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK))
- return;
-
gpios = variant_tpm_gpio_table(&num_gpios);
gpio_configure_pads(gpios, num_gpios);
}