diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-01-09 14:28:05 -0600 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-05-13 21:01:52 +0200 |
commit | 9f1a7cffabacdb6022e4579a6229eb5d29e9bcf4 (patch) | |
tree | 0610978d63c0689511f1780e6a14fb8c3e2530ed /src/ec/smsc/mec1308 | |
parent | b376ea632f1498174d86fa8f8b78848607492055 (diff) | |
download | coreboot-9f1a7cffabacdb6022e4579a6229eb5d29e9bcf4.tar.xz |
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>
Diffstat (limited to 'src/ec/smsc/mec1308')
0 files changed, 0 insertions, 0 deletions