summaryrefslogtreecommitdiffstats
path: root/src/mainboard/supermicro/x11-lga1151-series/mainboard.c
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-11-24 13:49:11 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2020-11-29 07:28:56 +0000
commitc1d1dddbccba1d1468b75bc8d4685bd8e7184264 (patch)
tree0a1b9d51dbf2d6ee87dafa6ce41f73f0462a2132 /src/mainboard/supermicro/x11-lga1151-series/mainboard.c
parente88dacfa433840339355b7a634cd63f3fd22c5f7 (diff)
downloadcoreboot-c1d1dddbccba1d1468b75bc8d4685bd8e7184264.tar.gz
coreboot-c1d1dddbccba1d1468b75bc8d4685bd8e7184264.tar.bz2
coreboot-c1d1dddbccba1d1468b75bc8d4685bd8e7184264.zip
mb/supermicro/x11-lga1151-series: rework gpio setup to not use headers
Rework gpio setup for the board series to not use headers but stage-specific compilation units. Tested successfully on X11SSM-F. Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Change-Id: Ic62ce4335af605c081ef288e892441585ff2bd3e Reviewed-on: https://review.coreboot.org/c/coreboot/+/48087 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/mainboard/supermicro/x11-lga1151-series/mainboard.c')
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/mainboard.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/mainboard.c b/src/mainboard/supermicro/x11-lga1151-series/mainboard.c
index 1377a874fe17..0f8dbed2ed3f 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/mainboard.c
+++ b/src/mainboard/supermicro/x11-lga1151-series/mainboard.c
@@ -2,8 +2,7 @@
#include <mainboard.h>
#include <device/device.h>
-#include <soc/ramstage.h>
-#include <variant/gpio.h>
+#include <mainboard/gpio.h>
__weak void variant_mainboard_init(void *chip_info)
{
@@ -12,7 +11,7 @@ __weak void variant_mainboard_init(void *chip_info)
static void mainboard_chip_init(void *chip_info)
{
/* do common init */
- gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
+ mainboard_configure_gpios();
/* do variant init */
variant_mainboard_init(chip_info);