coreboot-kgpe-d16/src/ec
Aaron Durbin 9f1a7cffab 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>
Reviewed-on: http://review.coreboot.org/5039
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
2014-05-13 21:01:52 +02:00
..
acpi acpi/ec: Add missing delays 2014-01-12 18:06:06 +01:00
compal src/*: Remove the last remnants of struct keyboard 2014-05-13 12:14:34 +02:00
google chromeec: add function to reboot on unexpected image 2014-05-13 21:01:52 +02:00
kontron ec/kontron/it8516e: Add sanity checks for values from nvram 2013-07-29 23:22:12 +02:00
lenovo lenovo/x60: Unify volume button handling with common code. 2014-03-01 21:59:15 +01:00
quanta src/*: Remove the last remnants of struct keyboard 2014-05-13 12:14:34 +02:00
smsc x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
Kconfig ec/kontron/it8516e: Add it8516e EC driver 2013-06-06 20:39:52 +02:00
Makefile.inc ec/kontron/it8516e: Add it8516e EC driver 2013-06-06 20:39:52 +02:00