aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/gpio_early.c
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-11-08 19:32:13 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2020-12-30 00:31:47 +0000
commit6c3ba50a444d969c3086ab18d5123f119295748b (patch)
treeea6ff716c713e5fe110d66d718e39544359350e7 /src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/gpio_early.c
parent8281a537666081b7785178c4375b5e23e6e2a93a (diff)
mb/supermicro/x11ssh-tf: configure "POST complete" gpio for IPMI driver
Configure the "POST complete" gpio in the devicetree for the BMC/IPMI driver and set the pad's initial value to 0 since the signal is active- high and shall be set by the IPMI/BMC driver. Also add the pad to early gpio config, since it is expected to have an external pull-up like X11SSM-F, which is wrong and would confuse the BMC. Test: Boot the machine via the BMC web interface and check that sensors get read correctly by the IPMI firmware when the payload starts. Tested successfully. Change-Id: If344b2271bfc8d50b8b64847109818f96f2abbcb Tested-by: Patrick Rudolph <siro@das-labor.org> Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48711 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/gpio_early.c')
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/gpio_early.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/gpio_early.c b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/gpio_early.c
index 3ea21e0321..e3c5c4d982 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/gpio_early.c
+++ b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/gpio_early.c
@@ -14,6 +14,7 @@ static const struct pad_config early_gpio_table[] = {
PAD_CFG_NF(GPP_A8, NONE, DEEP, NF1),
PAD_CFG_NF(GPP_A9, NONE, DEEP, NF1),
PAD_CFG_NF(GPP_A10, NONE, DEEP, NF1),
+ PAD_CFG_GPO(GPP_B20, 0, PLTRST), /* BMC POST_COMPLETE */
};
void mainboard_configure_early_gpios(void)