glados: Implement Chrome OS specific handlers

Hardware / Coreboot - Duncan Laurie [chromium.org] - 27 August 2015 09:18 UTC

Implement the required Chrome OS specific handlers to read the recovery mode, clear the recovery mode, read the lid switch state, and read the write protect state using the appropriate methods.

Also update the Chrome OS ACPI device to use the GPIO definitions that are exposed now by the SOC.

BUG=chrome-os-partner:43515 BRANCH=none TEST=build and boot on glados and successfully enter recovery mode

Original-Change-Id: Ifd51c11dc71b7d091615c29a618454a6a2cc33d7

c328191 glados: Implement Chrome OS specific handlers
src/mainboard/google/glados/acpi/chromeos.asl | 10 ++++++---
src/mainboard/google/glados/chromeos.c | 28 +++++++++++++++++++++----
2 files changed, 31 insertions(+), 7 deletions(-)

Upstream: review.coreboot.org


  • Share