rambi: update EC support

Hardware / Coreboot - Aaron Durbin [chromium.org] - 6 May 2014 10:18 UTC

Fix the SMI and SCI gpios for Rambi. Also, add in the EC callbacks for the SMI handler. Note that the handler for GPI SMIs has not been tested yet as baytrail chipset code doesn't yet support setting up those configurations yet.

BUG=chrome-os-partner:23505 BRANCH=None TEST=Noted that SCI was enabled in /sys/firmware/acpi/interrupts for the EC's SCI GPI. Also was able to see Chrome EC messages with CONFIG_DEBUG_SMI and powering down at the dev screen.

Change-Id: I67b278fd38e1c09271d2c1e16e42f6e8c49e3a70

84da959 rambi: update EC support
src/mainboard/google/rambi/ec.h | 7 ++-
src/mainboard/google/rambi/mainboard_smi.c | 90 +++++++++++++++++++++++++++-
2 files changed, 93 insertions(+), 4 deletions(-)

Upstream: review.coreboot.org

  • Share