rush: Add gpio config for PWR button and LID open switch

Hardware / Coreboot - Jimmy Zhang [nvidia.com] - 13 April 2015 09:43 UTC

Due to CL https://chromium-review.googlesource.com/231250, depthcharge now detects gpio state based on gpio configurations done by coreboot instead of redoing configuration at depthcharge. However, PWR button and LID open pins have not been configured in coreboot. So, add the missing code here. Otherwise, TOT coreboot/depthcharge rush build can not load in kernel.

BUG=chrome-os-partner:34336 BRANCH=none TEST=build rush and test with pwr button press and lid switch

Change-Id: I7acc5e021fa769f68d4cbfd7202df325d4ea73c2

c355826 rush: Add gpio config for PWR button and LID open switch
src/mainboard/google/rush/bootblock.c | 6 ++++++
1 file changed, 6 insertions(+)

Upstream: review.coreboot.org


  • Share