summaryrefslogtreecommitdiff
path: root/src/mainboard/google/fatcat/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/fatcat/bootblock.c')
-rw-r--r--src/mainboard/google/fatcat/bootblock.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/fatcat/bootblock.c b/src/mainboard/google/fatcat/bootblock.c
new file mode 100644
index 0000000000..6ee655ee58
--- /dev/null
+++ b/src/mainboard/google/fatcat/bootblock.c
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/variants.h>
+#include <bootblock_common.h>
+
+void bootblock_mainboard_early_init(void)
+{
+ const struct pad_config *pads;
+ size_t num;
+
+ pads = variant_early_gpio_table(&num);
+ gpio_configure_pads(pads, num);
+}