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