diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2020-11-24 13:57:48 +0100 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2020-11-28 12:58:28 +0000 |
commit | 1b0d75177724ae00df399ffca36fd716b294063f (patch) | |
tree | 95382f066f9f1aa3e17204c32f85248f844e4d49 /src/mainboard/supermicro/x11-lga1151-series/mainboard.c | |
parent | ddd44f4fe9f45dfcdb2467073b4faf1fdb03ce47 (diff) |
mb/supermicro/x11-lga1151-series: configure gpios in mainboard init
Move gpio configuration from the Fsp callback to mainboard init.
Tested successfully on X11SSM-F.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Change-Id: If2a54c75c5243d94cdc025c597ee347820b35d32
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48086
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/supermicro/x11-lga1151-series/mainboard.c')
-rw-r--r-- | src/mainboard/supermicro/x11-lga1151-series/mainboard.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/mainboard.c b/src/mainboard/supermicro/x11-lga1151-series/mainboard.c index 0380c9848c..92718e8c0d 100644 --- a/src/mainboard/supermicro/x11-lga1151-series/mainboard.c +++ b/src/mainboard/supermicro/x11-lga1151-series/mainboard.c @@ -2,6 +2,8 @@ #include <mainboard.h> #include <device/device.h> +#include <soc/ramstage.h> +#include <variant/gpio.h> __weak void variant_mainboard_init(struct device *dev) { @@ -10,7 +12,7 @@ __weak void variant_mainboard_init(struct device *dev) static void mainboard_init(struct device *dev) { /* do common init */ - // placeholder for common mainboard initialization + gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table)); /* do variant init */ variant_mainboard_init(dev); |