The romstage code for rambi uses the mmio way of reading inputs. However, this is a problem is the GPIOs are set up as legacy mode. Subsequent warm resets mean the ram_id is read incorrectly. Ensure the ram_id is read consistently by keeping the GPIOs for ram_id in mmio mode.
BUG=chrome-os-partner:24085 BRANCH=None TEST=Built and booted. And rebooted. Now seeing consistent ram_id
values on warm resets.
Change-Id: Ieff98c000be80998854f325754f1e819975d2be5
baa1e38 rambi: make ramids non-legacy gpio inputs
src/mainboard/google/rambi/gpio.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Upstream: review.coreboot.org