coreboot-kgpe-d16/src
Sheng-Liang Song 1d6560fc60 chromeos: Unconditionally clear the EC recovery request
Add the empty weak function clear_recovery_mode_switch().

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.

Original-Change-Id: Ie1e3251a6db12e75e385220e9d3791078393b1bf
Original-Signed-off-by: Sheng-Liang Song <ssl@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/197780
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-by: Randall Spangler <rspangler@chromium.org>
Original-Commit-Queue: Sheng-liang Song <ssl@google.com>
Original-Tested-by: Sheng-liang Song <ssl@google.com>
(cherry picked from commit 18908bb64cef34ca41812814817ef887961bed34)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I71ca9f3ea8d816c865375ec66a0603ca211f23ae
Reviewed-on: http://review.coreboot.org/7895
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins)
2014-12-30 23:30:52 +01:00
..
arch ipq/arm: Redesign hooks for bootblock 2014-12-30 20:05:04 +01:00
console ipq8064: prepare UART driver for use in coreboot 2014-12-05 20:22:47 +01:00
cpu i2c: Add software_i2c driver for I2C debugging and emulation 2014-12-30 22:07:42 +01:00
device i2c: Add software_i2c driver for I2C debugging and emulation 2014-12-30 22:07:42 +01:00
drivers elog: Use the RTC driver interface instead of reading CMOS directly. 2014-12-30 22:11:54 +01:00
ec chromeos: Unconditionally clear the EC recovery request 2014-12-30 23:30:52 +01:00
include chromeos: Unconditionally clear the EC recovery request 2014-12-30 23:30:52 +01:00
lib ipq8064: SOC UART driver belongs in the SOC directory 2014-12-30 20:14:45 +01:00
mainboard Rambi: Set SOC_DISP_ON as GPIO to avoid LCD_VCC glitch 2014-12-30 22:44:09 +01:00
northbridge northbridge/amd/pi/northbridge.c: Remove superfluous logic operand 2014-12-29 04:06:23 +01:00
soc ipq8064: copy u-boot spi driver as is 2014-12-30 22:09:49 +01:00
southbridge drivers/pc80/mc146818rtc: Assume we always have ALTCENTURY 2014-12-30 22:10:41 +01:00
superio Drop Intel E7520 and E7525 and related boards 2014-12-18 02:11:06 +01:00
vendorcode chromeos: Unconditionally clear the EC recovery request 2014-12-30 23:30:52 +01:00
Kconfig Provide a common CBFS wrapper for SPI storage 2014-12-30 19:29:47 +01:00