From 242c9d9f2420ef023a816275b23ce954cd71f051 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 27 Mar 2019 19:29:14 -0700 Subject: mb/google/sarien: Call EC romstage init function When in romstage call into the EC init function so it can send a progress code to the EC before memory training starts. BUG=b:127875364 TEST=boot with FSP debug and ensure EC does not try to turn off the system while it is still booting. Change-Id: I5d99fb16bae250a82b652c530c13977e74c3378b Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/c/coreboot/+/32092 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Paul Menzel --- src/mainboard/google/sarien/romstage.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainboard/google/sarien') diff --git a/src/mainboard/google/sarien/romstage.c b/src/mainboard/google/sarien/romstage.c index 95af0bc18c..e83cd4aed4 100644 --- a/src/mainboard/google/sarien/romstage.c +++ b/src/mainboard/google/sarien/romstage.c @@ -13,6 +13,7 @@ * GNU General Public License for more details. */ +#include #include #include @@ -49,5 +50,7 @@ void mainboard_memory_init_params(FSPM_UPD *memupd) .spd_smbus_address[2] = 0xa4 }; + wilco_ec_romstage_init(); + cannonlake_memcfg_init(&memupd->FspmConfig, &memcfg, &spd); } -- cgit v1.2.3