aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/volteer/bootblock.c')
-rw-r--r--src/mainboard/google/volteer/bootblock.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/bootblock.c b/src/mainboard/google/volteer/bootblock.c
new file mode 100644
index 0000000000..8685fa776a
--- /dev/null
+++ b/src/mainboard/google/volteer/bootblock.c
@@ -0,0 +1,19 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2020 The coreboot project Authors.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#include <baseboard/variants.h>
+#include <bootblock_common.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);
+}