Some platforms cannot access the 900h-9ffh region over the LPC bus, so it's necessary to access memmap data over the ACPI cmd / data ports.
BUG=chrome-os-partner:38224 TEST=Manual on Samus. Define EC_GOOGLE_CHROMEEC_ACPI_MEMMAP. Verify system boots cleanly and battery status is updated immediately on plug / unplug. BRANCH=None
Change-Id: Ifbed938668d3770750a44105e40fccb9babf62ed
37b7a66 chromeec: Support accessing memmap data over port 62/66
src/ec/google/chromeec/Kconfig | 10 +++++-
src/ec/google/chromeec/acpi/ec.asl | 48 +++++---------------------
src/ec/google/chromeec/acpi/emem.asl | 62 ++++++++++++++++++++++++++++++++++
3 files changed, 79 insertions(+), 41 deletions(-)
Upstream: review.coreboot.org