From 702f83897730739af21d10649759589ae9a22203 Mon Sep 17 00:00:00 2001 From: Eric Lai Date: Tue, 28 May 2019 23:49:32 +0800 Subject: mb/google/sarien: Send post code to the EC Use the mainboard post code hook to inform the wilco EC driver of the every stage. BUG=b:124401932,b:133466714,b:133600566 BRANCH=sarien TEST=Remove DIMM module, confirm diagnostic LED pattern for memory failure (2 amber, 4 white). Signed-off-by: Eric Lai Signed-off-by: Duncan Laurie Change-Id: Ic71e4a6e62b63ca2fd189957c4d6f49b61b934de Reviewed-on: https://review.coreboot.org/c/coreboot/+/33047 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie Reviewed-by: Frank Wu Reviewed-by: Furquan Shaikh --- src/mainboard/google/sarien/ramstage.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/mainboard/google/sarien/ramstage.c') diff --git a/src/mainboard/google/sarien/ramstage.c b/src/mainboard/google/sarien/ramstage.c index e246419373..1d220461cf 100644 --- a/src/mainboard/google/sarien/ramstage.c +++ b/src/mainboard/google/sarien/ramstage.c @@ -15,7 +15,6 @@ #include #include -#include #include #include #include @@ -70,11 +69,6 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params) cnl_configure_pads(gpio_table, num_gpios); } -void mainboard_post(uint8_t value) -{ - wilco_ec_save_post_code(value); -} - static void mainboard_enable(struct device *dev) { dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator; -- cgit v1.2.3