diff options
author | Duncan Laurie <dlaurie@google.com> | 2019-03-27 19:28:17 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2019-03-28 19:17:43 +0000 |
commit | 31354676d05ac5992745d943f94d0dbc550ed95c (patch) | |
tree | 545d4262f63cdfd19864c427f7aee206b84ecef8 /src/ec/google/wilco/romstage.c | |
parent | 13f5360724e9e6e5ede09487670f2c1a2ba86d41 (diff) | |
download | coreboot-31354676d05ac5992745d943f94d0dbc550ed95c.tar.xz |
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>
Diffstat (limited to 'src/ec/google/wilco/romstage.c')
-rw-r--r-- | src/ec/google/wilco/romstage.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ec/google/wilco/romstage.c b/src/ec/google/wilco/romstage.c new file mode 100644 index 0000000000..4f5eef2aeb --- /dev/null +++ b/src/ec/google/wilco/romstage.c @@ -0,0 +1,23 @@ +/* + * 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. + */ + +#include "commands.h" +#include "ec.h" +#include "romstage.h" + +void wilco_ec_romstage_init(void) +{ + wilco_ec_send(KB_BIOS_PROGRESS, BIOS_PROGRESS_BEFORE_MEMORY); +} |