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
google chromeec: add function to reboot on unexpected image 2014-01-10 00:11:54 +00:00
lenovo
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
Makefile.inc