coreboot/src/ec
Aaron Durbin 63f0a2fb1e chromeec: add function to reboot on unexpected image
It's helpful to have a generic function that will tell
the EC to reboot if the EC isn't running a specified
image. Add that and implement google_chromeec_early_init()
to utilize the new function still maintaing its semantics
of if recvoery mode is enabled the EC should be running its
RO image. There is a slight change in that no communication
is done with the EC if not in recovery mode.

BUG=chrome-os-partner:24133
BRANCH=rambi,squawks
TEST=Built and boot with recovery request. Noted EC reboot.

Change-Id: I22240f6a11231e39c33fd79796a52ec76b119397
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/182060
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
2014-01-10 00:11:54 +00:00
..
acpi x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
compal Add support for ENE932 EC w/ Compal firmware 2012-12-12 06:02:04 +01:00
google chromeec: add function to reboot on unexpected image 2014-01-10 00:11:54 +00:00
lenovo GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
quanta x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
smsc x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
Kconfig Add support for Google ChromeEC 2013-02-22 23:10:01 +01:00
Makefile.inc Add support for Google ChromeEC 2013-02-22 23:10:01 +01:00