mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / kahlee / bootblock / bootblock.c
blobff3f289d5417e74449fddc7316bcce4deecbe638
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/variants.h>
4 #include <bootblock_common.h>
5 #include <gpio.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)
13 size_t num_gpios;
14 const struct soc_amd_gpio *gpios;
16 /* Enable the EC as soon as we have visibility */
17 mainboard_ec_init();
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 */
29 lpc_tpm_decode_spi();