coreboot/src/ec
Sheng-Liang Song 18908bb64c chromeos: Unconditionally clear the EC recovery request
Added the empty function clear_recovery_mode_switch (weak)

Problem:
If GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC is set,
the following will happen:

1. Boot device in recovery mode with Esc + F3 + Pwr.
2. Turn device off with Pwr button.
3. Turn device on with Pwr button.

Device still boots to recovery screen with
recovery_reason:0x02 recovery button pressed.

If GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC isn't set,
 turning the device off and on again
 with the Pwr button does a normal boot.

Solution:
Unconditionally clear the recovery flag.

BUG=chromium:279607
BRANCH=TOT
TEST=Compile OK.

Change-Id: Ie1e3251a6db12e75e385220e9d3791078393b1bf
Signed-off-by: Sheng-Liang Song <ssl@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/197780
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Commit-Queue: Sheng-liang Song <ssl@google.com>
Tested-by: Sheng-liang Song <ssl@google.com>
2014-05-07 03:33:49 +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 chromeos: Unconditionally clear the EC recovery request 2014-05-07 03:33:49 +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