summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/lite/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/starlabs/lite/bootblock.c')
-rw-r--r--src/mainboard/starlabs/lite/bootblock.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/lite/bootblock.c b/src/mainboard/starlabs/lite/bootblock.c
new file mode 100644
index 0000000000..5349207eeb
--- /dev/null
+++ b/src/mainboard/starlabs/lite/bootblock.c
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <bootblock_common.h>
+#include <console/console.h>
+#include <soc/gpio.h>
+#include <variants.h>
+
+void bootblock_mainboard_init(void)
+{
+ const struct pad_config *pads;
+ size_t num;
+
+ pads = variant_early_gpio_table(&num);
+ gpio_configure_pads(pads, num);
+}