diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/amd/gardenia/bootblock/bootblock.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/kahlee/bootblock/bootblock.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/mainboard/amd/gardenia/bootblock/bootblock.c b/src/mainboard/amd/gardenia/bootblock/bootblock.c index dae59b78d8..cb2a13516b 100644 --- a/src/mainboard/amd/gardenia/bootblock/bootblock.c +++ b/src/mainboard/amd/gardenia/bootblock/bootblock.c @@ -18,7 +18,7 @@ #include "../gpio.h" -void bootblock_mainboard_init(void) +void bootblock_mainboard_early_init(void) { size_t num_gpios; const struct soc_amd_stoneyridge_gpio *gpios; diff --git a/src/mainboard/google/kahlee/bootblock/bootblock.c b/src/mainboard/google/kahlee/bootblock/bootblock.c index 4a65d8f4fc..acdffe584a 100644 --- a/src/mainboard/google/kahlee/bootblock/bootblock.c +++ b/src/mainboard/google/kahlee/bootblock/bootblock.c @@ -20,13 +20,16 @@ #include <variant/ec.h> #include <variant/gpio.h> -void bootblock_mainboard_init(void) +void bootblock_mainboard_early_init(void) { size_t num_gpios; const struct soc_amd_stoneyridge_gpio *gpios; gpios = variant_early_gpio_table(&num_gpios); sb_program_gpios(gpios, num_gpios); +} +void bootblock_mainboard_init(void) +{ /* Enable the EC as soon as we have visibility */ mainboard_ec_init(); |