summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2018-03-20 09:03:56 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-03-23 08:54:59 +0000
commit83308660677056ccaea1a70494dac7874be43f41 (patch)
tree0ea4387a795fdf30437dd1d03c459ecec527188d /src/mainboard
parentefce854fc69f441f651d3e5a1b9482f366967b01 (diff)
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 <nvaccaro@google.com> Reviewed-on: https://review.coreboot.org/25298 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/zoombini/chromeos.c4
1 files 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));
}