diff options
Diffstat (limited to 'src/mainboard/topton/adl/mainboard.c')
-rw-r--r-- | src/mainboard/topton/adl/mainboard.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mainboard/topton/adl/mainboard.c b/src/mainboard/topton/adl/mainboard.c new file mode 100644 index 0000000000..e15720bcc2 --- /dev/null +++ b/src/mainboard/topton/adl/mainboard.c @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include <soc/ramstage.h> +#include "gpio.h" + +static void mainboard_init(void *chip_info) +{ + gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table)); +} + +struct chip_operations mainboard_ops = { + .init = mainboard_init, +}; + +void mainboard_silicon_init_params(FSP_S_CONFIG *params) +{ + /* Disabling DMI ASPM, fixes wonky NVME */ + params->PchLegacyIoLowLatency = 1; +} |