summaryrefslogtreecommitdiff
path: root/src/mainboard/siemens/chili/include
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-11-24 19:48:36 +0000
committerMichael Niewöhner <foss@mniewoehner.de>2020-11-30 23:08:50 +0000
commit617150e0ff5b84b531e88e89d5ab7d3f93636434 (patch)
tree4fb54532ca85d41015423dd5f602546e148c9281 /src/mainboard/siemens/chili/include
parente8774933d39fab2cb4eb443f69a583d1fa5bd238 (diff)
mb/siemens/chili: Configure GPIOs in gpio.c
Get rid of variant_gpio_table() and configure GPIOs in gpio.c instead of passing data around. Change-Id: Ib158d6bdbcbceb3c1dc4f47fc7c3e098b9c7e5c4 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47974 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/siemens/chili/include')
-rw-r--r--src/mainboard/siemens/chili/include/mainboard/gpio.h8
-rw-r--r--src/mainboard/siemens/chili/include/variant.h2
2 files changed, 8 insertions, 2 deletions
diff --git a/src/mainboard/siemens/chili/include/mainboard/gpio.h b/src/mainboard/siemens/chili/include/mainboard/gpio.h
new file mode 100644
index 0000000000..ef2a21c418
--- /dev/null
+++ b/src/mainboard/siemens/chili/include/mainboard/gpio.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef MAINBOARD_GPIO_H
+#define MAINBOARD_GPIO_H
+
+void mainboard_configure_gpios(void);
+
+#endif
diff --git a/src/mainboard/siemens/chili/include/variant.h b/src/mainboard/siemens/chili/include/variant.h
index 2bbe7d7926..1d97728513 100644
--- a/src/mainboard/siemens/chili/include/variant.h
+++ b/src/mainboard/siemens/chili/include/variant.h
@@ -7,6 +7,4 @@
void variant_romstage_params(FSPM_UPD *);
-const struct pad_config *variant_gpio_table(size_t *num);
-
#endif /* _VARIANT_H_ */