From 31354676d05ac5992745d943f94d0dbc550ed95c Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 27 Mar 2019 19:28:17 -0700 Subject: ec/google/wilco: Add a romstage init function to send progress code When using FSP with debug enabled it takes too long to get to ramstage and send the first progress code to the EC. The same thing has been reported to happen when 2x16GB memory is installed. 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: I5676354f5e53540273a9029411507f91864735a1 Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/c/coreboot/+/32091 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Paul Menzel --- src/ec/google/wilco/romstage.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/ec/google/wilco/romstage.h (limited to 'src/ec/google/wilco/romstage.h') diff --git a/src/ec/google/wilco/romstage.h b/src/ec/google/wilco/romstage.h new file mode 100644 index 0000000000..fbbbdc428e --- /dev/null +++ b/src/ec/google/wilco/romstage.h @@ -0,0 +1,26 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2019 Google LLC + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef EC_GOOGLE_WILCO_ROMSTAGE_H +#define EC_GOOGLE_WILCO_ROMSTAGE_H + +/** + * wilco_ec_early_init + * + * This function performs initialization of the EC in romstage. + */ +void wilco_ec_romstage_init(void); + +#endif /* EC_GOOGLE_WILCO_ROMSTAGE_H */ -- cgit v1.2.3