coreboot/src/ec
Derek Huang da3812208e chromeos/cr50_enable_update.c: Clear EC AP_IDLE flag
When AP boots up after Cr50 firmware update and reboot, AP finds
that Cr50 reset is required for Cr50 to pick the new firmware so
it trigger Cr50 reset and power off the system, AP expects system
will power on automatically after Cr50 reset. However this is not
the case for Chromebox, Chromebox EC set AP_IDLE flag when system
is shutting down, when AP_IDLE flag is set in EC, the system stays
at S5/G3 and wait for power button presssend. It cause an issue in
factory that the operator needs to press power button to power on
the DUT after Cr50 firmware update.

This patch sends EC command to direct EC to clear AP_IDLE flag
after AP shutdown so AP can boot up when Cr50 reset.

BUG=b:261119366
BRANCH=firmware-brya-14505.B
TEST=DUT boots up after Cr50 firmware update in factory test flow

Change-Id: If97ffbe65f4783f17f4747a87b0bf89a2b021a3b
Signed-off-by: Derek Huang <derekhuang@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70773
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-01-10 09:33:47 +00:00
..
51nb/npce985la0dx
acpi ec: Add SPDX license headers to Makefiles 2022-11-22 12:43:11 +00:00
apple/acpi tree: Replace ShiftLeft(a,b) with ASL 2.0 syntax 2022-12-23 08:30:39 +00:00
clevo/it5570e ec/clevo/it5570e/acpi: Replace Index(a, b) with ASL 2.0 syntax 2022-12-12 21:43:31 +00:00
compal/ene932 {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
google chromeos/cr50_enable_update.c: Clear EC AP_IDLE flag 2023-01-10 09:33:47 +00:00
hp/kbc1126 tree/acpi: Replace Divide(a,b,c,d) with ASL 2.0 syntax 2022-12-26 19:57:44 +00:00
intel mb/intel/mtlrvp: Add MTL-P RVP board ids 2022-12-09 23:57:03 +00:00
kontron tree: Replace And(a,b) with ASL 2.0 syntax 2022-12-23 10:18:55 +00:00
lenovo {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
purism {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
quanta {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
roda/it8518 ec/roda/it8518/acpi: Remove unnecessary assignments 2021-07-28 13:50:59 +00:00
smsc/mec1308 {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
starlabs/merlin {superio,ec}/acpi: Replace constant "One" with actual number 2022-12-27 09:03:34 +00:00
system76/ec {ec,mb}/system76/acpi: Use Printf() for debug prints 2022-12-29 16:30:15 +00:00
ec.h