diff options
Diffstat (limited to 'src/mainboard/google/poppy/bootblock.c')
-rw-r--r-- | src/mainboard/google/poppy/bootblock.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/google/poppy/bootblock.c b/src/mainboard/google/poppy/bootblock.c index 7057916c68..b82a8053d5 100644 --- a/src/mainboard/google/poppy/bootblock.c +++ b/src/mainboard/google/poppy/bootblock.c @@ -13,17 +13,17 @@ * GNU General Public License for more details. */ +#include <baseboard/variants.h> #include <bootblock_common.h> #include <soc/gpio.h> #include <variant/gpio.h> -static void early_config_gpio(void) -{ - gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table)); -} - void bootblock_mainboard_init(void) { - early_config_gpio(); + const struct pad_config *pads; + size_t num; + + pads = variant_early_gpio_table(&num); + gpio_configure_pads(pads, num); } |