rambi: add chromeos EC support

Hardware / Coreboot - Aaron Durbin [chromium.org] - 24 February 2014 11:43 UTC

As rambi has the ChromeOS EC on it the EC needs to be configured properly. Do this along with updating the ChromeOS support for passing on write protect state, recovery mode and developer mode.

BUG=chrome-os-partner:23387 BRANCH=None TEST=Built and booted to depthcharge. EC software sync appears to work correctly. Additionaly, 'mainboard_ec_init' appears in the console output.

Change-Id: I40c5c9410b4acaba662c2b18b261dd4514a7410a

063c873 rambi: add chromeos EC support
src/mainboard/google/rambi/Kconfig | 3 ++
src/mainboard/google/rambi/Makefile.inc | 1 +
src/mainboard/google/rambi/chromeos.c | 64 +++++++++++++++++++++++-------
src/mainboard/google/rambi/ec.c | 52 +++++++++++++++++++++++++
src/mainboard/google/rambi/ec.h | 65 +++++++++++++++++++++++++++++++
src/mainboard/google/rambi/mainboard.c | 7 ++++
6 files changed, 178 insertions(+), 14 deletions(-)

Upstream: review.coreboot.org


  • Share