summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/dedede/mainboard.c')
-rw-r--r--src/mainboard/google/dedede/mainboard.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/mainboard.c b/src/mainboard/google/dedede/mainboard.c
index 51b1aa4346..3b36abe661 100644
--- a/src/mainboard/google/dedede/mainboard.c
+++ b/src/mainboard/google/dedede/mainboard.c
@@ -6,11 +6,16 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
+#include <baseboard/variants.h>
#include <device/device.h>
static void mainboard_init(void *chip_info)
{
- /* TODO: Perform mainboard initialization */
+ const struct pad_config *pads;
+ size_t num;
+
+ pads = variant_gpio_table(&num);
+ gpio_configure_pads(pads, num);
}
static void mainboard_enable(struct device *dev)