ec/google/wilco: Add a romstage init function to send progress code
commit31354676d05ac5992745d943f94d0dbc550ed95c
authorDuncan Laurie <dlaurie@google.com>
Thu, 28 Mar 2019 02:28:17 +0000 (27 19:28 -0700)
committerDuncan Laurie <dlaurie@chromium.org>
Thu, 28 Mar 2019 19:17:43 +0000 (28 19:17 +0000)
tree545d4262f63cdfd19864c427f7aee206b84ecef8
parent13f5360724e9e6e5ede09487670f2c1a2ba86d41
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 <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32091
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/ec/google/wilco/Makefile.inc
src/ec/google/wilco/commands.h
src/ec/google/wilco/romstage.c [new file with mode: 0644]
src/ec/google/wilco/romstage.h [new file with mode: 0644]