diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2020-11-08 19:32:13 +0100 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2020-12-30 00:31:34 +0000 |
commit | 8281a537666081b7785178c4375b5e23e6e2a93a (patch) | |
tree | c6298ec4e89f51a8f140ef73b5d3f579890278b7 /src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/gpio_early.c | |
parent | 961ceffd0dc20393068e3bc5db71c2aa20fb8c95 (diff) |
mb/supermicro/x11ssm-f: configure "POST complete" gpio for IPMI driver
Configure the "POST complete" gpio in the devicetree for the BMC/IPMI
driver.
Also add the pad to early gpio config, since it has an external pull-up,
which is wrong and would confuse the BMC. Set the pad's initial value to
zero since the "POST complete" signal is active-high and shall be set by
the IPMI/BMC driver.
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.
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Change-Id: I6409b2aca90585e44ee5d32df0ae73b259443f32
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48097
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/x11ssm-f/gpio_early.c')
-rw-r--r-- | src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/gpio_early.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/gpio_early.c b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/gpio_early.c index 3ea21e0321..ea3ec6d0ae 100644 --- a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/gpio_early.c +++ b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/gpio_early.c @@ -14,6 +14,9 @@ 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), + + /* BMC POST_COMPLETE */ + PAD_CFG_GPO(GPP_B20, 0, PLTRST), }; void mainboard_configure_early_gpios(void) |