1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <baseboard/variants.h>
4 #include <bootblock_common.h>
5 #include <security/tpm/tss.h>
7 void bootblock_mainboard_early_init(void)
9 const struct pad_config
*pads
;
11 pads
= variant_early_gpio_table(&num
);
12 gpio_configure_pads(pads
, num
);
14 /* Init TPM in non-vboot case so ready in early ramstage before i2c init */
19 void bootblock_mainboard_init(void)
21 variant_update_descriptor();
24 void __weak
variant_update_descriptor(void) {}