summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/starfighter/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/starlabs/starfighter/bootblock.c')
-rw-r--r--src/mainboard/starlabs/starfighter/bootblock.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/starfighter/bootblock.c b/src/mainboard/starlabs/starfighter/bootblock.c
new file mode 100644
index 0000000000..ca48bb1ab2
--- /dev/null
+++ b/src/mainboard/starlabs/starfighter/bootblock.c
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <bootblock_common.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);
+}