diff options
author | Matt Delco <delco@chromium.org> | 2019-04-30 14:59:43 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-13 09:21:51 +0000 |
commit | 2cb399625ea04027fd02e6be834738b62d10c7d9 (patch) | |
tree | adcefb02fd1e2cab4bf9ca52342dd91cb49d296b /src/mainboard/intel/icelake_rvp/chromeos.c | |
parent | a20e59da157231f0a0e41774af80f6bccde1b280 (diff) | |
download | coreboot-2cb399625ea04027fd02e6be834738b62d10c7d9.tar.gz coreboot-2cb399625ea04027fd02e6be834738b62d10c7d9.tar.bz2 coreboot-2cb399625ea04027fd02e6be834738b62d10c7d9.zip |
mainboard: remove "recovery" gpio, selectively add "presence" gpio.
The gpio table is only used by depthcharge, and depthcharge rarely
has a need for the "recovery" gpio. On a few boards it does use the
gpio as a signal for confirming physical presence, so on that boards
we'll advertise the board as "presence".
All these strings probably should have been #defines to help avoid
typos (e.g., the "ec_in_rw" in stout seems questionable since everybody
else uses "EC in RW").
Cq-Depend: chromium:1580454
BUG=b:129471321
BRANCH=None
TEST=Local compile and flash (with corresponding changes to depthcharge)
to 2 systems, one with a "presence" gpio and another without. Confirmed
that both systems could enter dev mode.
Change-Id: Id6d62d9e48d3e6646cbc1277ea53f0ca95dd849e
Signed-off-by: Matt Delco <delco@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32718
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/intel/icelake_rvp/chromeos.c')
-rw-r--r-- | src/mainboard/intel/icelake_rvp/chromeos.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mainboard/intel/icelake_rvp/chromeos.c b/src/mainboard/intel/icelake_rvp/chromeos.c index 5965d95c320d..ce8e5486d8a5 100644 --- a/src/mainboard/intel/icelake_rvp/chromeos.c +++ b/src/mainboard/intel/icelake_rvp/chromeos.c @@ -27,7 +27,6 @@ void fill_lb_gpios(struct lb_gpios *gpios) { struct lb_gpio chromeos_gpios[] = { {-1, ACTIVE_HIGH, get_write_protect_state(), "write protect"}, - {-1, ACTIVE_HIGH, get_recovery_mode_switch(), "recovery"}, {-1, ACTIVE_HIGH, get_lid_switch(), "lid"}, {-1, ACTIVE_HIGH, 0, "power"}, {-1, ACTIVE_HIGH, gfx_get_init_done(), "oprom"}, |