diff options
Diffstat (limited to 'src/mainboard/google/kahlee/BiosCallOuts.c')
-rw-r--r-- | src/mainboard/google/kahlee/BiosCallOuts.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mainboard/google/kahlee/BiosCallOuts.c b/src/mainboard/google/kahlee/BiosCallOuts.c index f26b54e0ed..2f6a6036c8 100644 --- a/src/mainboard/google/kahlee/BiosCallOuts.c +++ b/src/mainboard/google/kahlee/BiosCallOuts.c @@ -18,17 +18,16 @@ #include <FchPlatform.h> #include <soc/southbridge.h> #include <stdlib.h> - -extern const GPIO_CONTROL agesa_board_gpios[]; +#include <baseboard/variants.h> void platform_FchParams_reset(FCH_RESET_DATA_BLOCK *FchParams_reset) { - FchParams_reset->EarlyOemGpioTable = (void *)agesa_board_gpios; + FchParams_reset->EarlyOemGpioTable = (void *)get_gpio_table(); } void platform_FchParams_env(FCH_DATA_BLOCK *FchParams_env) { - FchParams_env->PostOemGpioTable = (void *)agesa_board_gpios; + FchParams_env->PostOemGpioTable = (void *)get_gpio_table(); /* SDHCI/MMC configuration */ if (IS_ENABLED(CONFIG_BOARD_GOOGLE_KAHLEE)) |