From 83308660677056ccaea1a70494dac7874be43f41 Mon Sep 17 00:00:00 2001 From: Nick Vaccaro Date: Tue, 20 Mar 2018 09:03:56 -0700 Subject: mb/google/zoombini: always report EC is in RO mode Always report that EC is in RO mode. This is a temporary workaround for a hardware issue that is causing EC to appear to be in RW mode when it is not. This change will be reverted once transition is made to newer hardware. BUG=b:74215817 BRANCH=master TEST=Verify meowth can boot to recovery's insert screen. Change-Id: Ib3705bba0bb1f351da79e599566fbffab94428f3 Signed-off-by: Nick Vaccaro Reviewed-on: https://review.coreboot.org/25298 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh --- src/mainboard/google/zoombini/chromeos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/zoombini/chromeos.c b/src/mainboard/google/zoombini/chromeos.c index 8ca643e420..730e2c4d95 100644 --- a/src/mainboard/google/zoombini/chromeos.c +++ b/src/mainboard/google/zoombini/chromeos.c @@ -29,8 +29,8 @@ void fill_lb_gpios(struct lb_gpios *gpios) {-1, ACTIVE_HIGH, get_lid_switch(), "lid"}, {-1, ACTIVE_HIGH, 0, "power"}, {-1, ACTIVE_HIGH, gfx_get_init_done(), "oprom"}, - {GPIO_EC_IN_RW, ACTIVE_HIGH, gpio_get(GPIO_EC_IN_RW), - "EC in RW"}, + /* always report back 0 as temp workaround for b:74215817 */ + {GPIO_EC_IN_RW, ACTIVE_HIGH, 0, "EC in RW"}, }; lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios)); } -- cgit v1.2.3