From fa529bb940a413d95322e22b29c29531f4721d52 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 12 Apr 2018 14:00:45 -0600 Subject: [PATCH] soc/intel/apollolake: update cache options for glk On glk there's a 4MiB L2 cache all the time. Take advantage of that by initializing a 1MiB cache-as-ram area. BUG=b:72728953 Change-Id: Ia4e777a13607d8b70c05534b0a172f0ec6b04c51 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/25645 Reviewed-by: Justin TerAvest Tested-by: build bot (Jenkins) --- src/soc/intel/apollolake/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig index 029695d08a..2a2782e894 100644 --- a/src/soc/intel/apollolake/Kconfig +++ b/src/soc/intel/apollolake/Kconfig @@ -143,6 +143,7 @@ config DCACHE_RAM_BASE config DCACHE_RAM_SIZE hex + default 0x100000 if SOC_INTEL_GLK default 0xc0000 help The size of the cache-as-ram region required during bootblock @@ -334,6 +335,7 @@ config CACHE_QOS_SIZE_PER_BIT config L2_CACHE_SIZE hex + default 0x400000 if SOC_INTEL_GLK default 0x100000 config SPI_FLASH_INCLUDE_ALL_DRIVERS