From 034bb73b28a8cda11fb0d39b2c5ee9404cc252e6 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 14 Dec 2016 15:41:45 -0600 Subject: [PATCH] UPSTREAM: mainboard/google/reef: clear normal MRC cache on recovery retrain For Chrome OS the normal MRC cache should be cleared when a hardware retrain recovery request is observed. The reason is that since there are 2 different MRC cache slots there needs to be a mechanism which allows an end user make a system bootable again if the MRC settings happen to not allow the system to boot any longer. Therefore, one just needs to enter recovery with the hardware retrain flag and the system normal MRC cache slot will be invalidated. BUG=chrome-os-partner:60592 BRANCH=reef TEST=None Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/17871 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Change-Id: I6ad32ed0dd217d66404b77467a88689a06044544 Reviewed-on: https://chromium-review.googlesource.com/421030 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Furquan Shaikh --- src/mainboard/google/reef/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig index 2cc391eeca..c5625b68a0 100644 --- a/src/mainboard/google/reef/Kconfig +++ b/src/mainboard/google/reef/Kconfig @@ -35,6 +35,7 @@ config DRIVER_TPM_I2C_IRQ config CHROMEOS select EC_GOOGLE_CHROMEEC_SWITCHES select HAS_RECOVERY_MRC_CACHE + select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN select LID_SWITCH if BASEBOARD_REEF_LAPTOP config DRIVERS_I2C_DA7219