summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/clevo/cml-u/ramstage.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mainboard/clevo/cml-u/ramstage.c b/src/mainboard/clevo/cml-u/ramstage.c
index 037409cd6a..824adfc134 100644
--- a/src/mainboard/clevo/cml-u/ramstage.c
+++ b/src/mainboard/clevo/cml-u/ramstage.c
@@ -1,11 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <soc/ramstage.h>
+#include <device/device.h>
#include <variant/gpio.h>
-void mainboard_silicon_init_params(FSP_S_CONFIG *params)
+static void init_mainboard(void *chip_info)
{
- /* Configure pads prior to SiliconInit() in case there's any
- dependencies during hardware initialization. */
- cnl_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
+ gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
}
+
+struct chip_operations mainboard_ops = {
+ .init = init_mainboard,
+};