From 3a21d0f341104dbef041f1dde8541d6054eb04e6 Mon Sep 17 00:00:00 2001 From: Ravi Sarawadi Date: Wed, 10 Aug 2016 11:33:56 -0700 Subject: soc/apollolake: enable access to RTC NVRAM FSP unconditionally locks parts of the NVRAM in the RTC. This change will enable coreboot to update the locking policy and be able to unlock the region BUG=chrome-os-partner:55944 TEST=Check 'crossystem dev_boot_usb=1' Change-Id: I70fd2bafa6ff9eb9cdf284b9780e4b90dee0f4ce Signed-off-by: Ravi Sarawadi Reviewed-on: https://review.coreboot.org/16144 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Paul Menzel Reviewed-by: Giri P Mudusuru --- src/soc/intel/apollolake/chip.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c index 345d7c4446..1b109d0c93 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -397,6 +397,9 @@ void platform_fsp_silicon_init_params_cb(struct FSPS_UPD *silupd) /* Disable setting of EISS bit in FSP. */ silconfig->SpiEiss = 0; + + /* Disable FSP from locking access to the RTC NVRAM */ + silconfig->RtcLock = 0; } struct chip_operations soc_intel_apollolake_ops = { -- cgit v1.2.3