1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/variants.h>
4 #include <bootblock_common.h>
6 #include <soc/southbridge.h>
7 #include <amdblocks/lpc.h>
8 #include <variant/ec.h>
9 #include <variant/gpio.h>
11 void bootblock_mainboard_early_init(void)
14 const struct soc_amd_gpio
*gpios
;
16 /* Enable the EC as soon as we have visibility */
19 gpios
= variant_wlan_rst_early_gpio_table(&num_gpios
);
20 gpio_configure_pads(gpios
, num_gpios
);
22 gpios
= variant_early_gpio_table(&num_gpios
);
23 gpio_configure_pads(gpios
, num_gpios
);
26 void bootblock_mainboard_init(void)
28 /* Setup TPM decode before verstage */