summaryrefslogtreecommitdiff
path: root/src/mainboard/ocp/tiogapass/ramstage.c
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-12-16 19:56:17 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2021-04-06 06:56:11 +0000
commit08dc4cf439d8043edcbe355bb694e491463d7141 (patch)
tree4235afb69f8a1539cab760e47b7176fb693c10cb /src/mainboard/ocp/tiogapass/ramstage.c
parent61469c7a35281b886692db6fc7e1b7114aca4807 (diff)
downloadcoreboot-08dc4cf439d8043edcbe355bb694e491463d7141.tar.xz
mb/ocp/tiogapass: use IPMI driver functionality for "POST complete"
Replace the mainboard-specific code for "POST complete" signalling with devicetree entries for using the newly introduced IPMI driver functionality. Test: Boot the machine via the BMC web interface and check that sensors get read correctly by the IPMI firmware when the payload starts. Change-Id: I7503dec4e72810db8dfe74f72638b466a3d66748 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48671 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/ocp/tiogapass/ramstage.c')
-rw-r--r--src/mainboard/ocp/tiogapass/ramstage.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mainboard/ocp/tiogapass/ramstage.c b/src/mainboard/ocp/tiogapass/ramstage.c
index df7720538e..1439c3be0e 100644
--- a/src/mainboard/ocp/tiogapass/ramstage.c
+++ b/src/mainboard/ocp/tiogapass/ramstage.c
@@ -3,9 +3,7 @@
#include <bootstate.h>
#include <drivers/ipmi/ipmi_ops.h>
#include <drivers/ocp/dmi/ocp_dmi.h>
-#include <gpio.h>
#include <soc/ramstage.h>
-#include <soc/lewisburg_pch_gpio_defs.h>
extern struct fru_info_str fru_strings;
@@ -136,12 +134,6 @@ void mainboard_silicon_init_params(FSPS_UPD *params)
{
}
-static void pull_post_complete_pin(void *unused)
-{
- /* Pull Low post complete pin */
- gpio_output(GPP_B20, 0);
-}
-
#if CONFIG(GENERATE_SMBIOS_TABLES)
static int mainboard_smbios_data(struct device *dev, int *handle, unsigned long *current)
{
@@ -189,5 +181,3 @@ struct chip_operations mainboard_ops = {
.enable_dev = mainboard_enable,
.final = mainboard_final,
};
-
-BOOT_STATE_INIT_ENTRY(BS_PAYLOAD_BOOT, BS_ON_ENTRY, pull_post_complete_pin, NULL);