/* SPDX-License-Identifier: GPL-2.0-only */ | |
#include <bootblock_common.h> | |
#include <baseboard/variants.h> | |
#include <acpi/acpi.h> | |
void bootblock_mainboard_early_init(void) | |
{ | |
size_t num_gpios; | |
const struct soc_amd_gpio *gpios; | |
gpios = variant_bootblock_gpio_table(&num_gpios, acpi_get_sleep_type()); | |
gpio_configure_pads(gpios, num_gpios); | |
variant_pcie_gpio_configure(); | |
} |