| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <soc/ramstage.h> |
| 4 | #include "gpio.h" |
| 5 | |
| 6 | static void mainboard_init(void *chip_info) |
| 7 | { |
| 8 | gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table)); |
| 9 | } |
| 10 | |
| 11 | struct chip_operations mainboard_ops = { |
| 12 | .init = mainboard_init, |
| 13 | }; |
| 14 | |
| 15 | void mainboard_silicon_init_params(FSP_S_CONFIG *params) |
| 16 | { |
| 17 | /* Disabling DMI ASPM, fixes wonky NVME */ |
| 18 | params->PchLegacyIoLowLatency = 1; |
| 19 | } |