From e88fa490a5248c0de6d51b07d4ede885f09637b6 Mon Sep 17 00:00:00 2001 From: Lijian Zhao Date: Tue, 11 Jul 2017 12:26:56 -0700 Subject: soc/intel/cannonlake: Add memory map support Calculate the top of ram from output of Fsp reserved memory range. Change-Id: I0dcc8f737c5811c9010cc4a20ea0126ab3f90f14 Signed-off-by: Lijian Zhao Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/20533 Tested-by: build bot (Jenkins) --- src/soc/intel/cannonlake/bootblock/pch.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/soc/intel/cannonlake/bootblock') diff --git a/src/soc/intel/cannonlake/bootblock/pch.c b/src/soc/intel/cannonlake/bootblock/pch.c index d294cea46b..21a06e4ff5 100644 --- a/src/soc/intel/cannonlake/bootblock/pch.c +++ b/src/soc/intel/cannonlake/bootblock/pch.c @@ -196,4 +196,6 @@ void pch_early_init(void) enable_rtc_upper_bank(); heci_init(HECI1_BASE_ADDRESS); + + clear_cbmem_top(); } -- cgit v1.2.3