1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #include <bootblock_common.h> 4 #include <soc/gpio.h> 5 #include <variant/gpio.h> 6 early_config_gpio(void)7static void early_config_gpio(void) 8 { 9 /* This is a hack for FSP because it does things in MemoryInit() 10 * which it shouldn't do. We have to prepare certain gpios here 11 * because of the brokenness in FSP. */ 12 gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table)); 13 } 14 bootblock_mainboard_early_init(void)15void bootblock_mainboard_early_init(void) 16 { 17 early_config_gpio(); 18 } 19