From 8e1c12f12e3fb01d2228cca29de188507b3f2cc7 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 10 Mar 2017 13:51:11 +0530 Subject: soc/intel/apollolake: Add CQOS config for CAR common code Change-Id: I5947170a96e888cea2f3faac92355e72b63c1fef Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/18735 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/intel/apollolake/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/soc/intel/apollolake/Kconfig') diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig index a11ef0100d..45ee5c98ff 100644 --- a/src/soc/intel/apollolake/Kconfig +++ b/src/soc/intel/apollolake/Kconfig @@ -275,6 +275,19 @@ config CAR_CQOS endchoice +# +# Each bit in QOS mask controls this many bytes. This is calculated as: +# (CACHE_WAYS / CACHE_BITS_PER_MASK) * CACHE_LINE_SIZE * CACHE_SETS +# + +config CACHE_QOS_SIZE_PER_BIT + hex + default 0x20000 # 128 KB + +config L2_CACHE_SIZE + hex + default 0x100000 + config SPI_FLASH_INCLUDE_ALL_DRIVERS bool default n -- cgit v1.2.3