From 509b0a97f6a44ea85a8a37087a03526dd513a88f Mon Sep 17 00:00:00 2001 From: Zhuohao Lee Date: Fri, 7 May 2021 20:36:16 +0800 Subject: mb/google/volteer: adjust the size for RO/RW mcache The mcache is overflowed in the latest build. In order to fix the mcache overflow, we increase the mcache size to 0x4000 and adjust the percentage to 50% for the ro/rw mcache. This change is for all of the volteer variants as we see many of the volteer variants which use the latest bios having the mcache overflow issue. BUG=b:187095474, b:187095765, b:187234881, b:162052593 TEST=no mcache overflow in the bios log Change-Id: If9552bc9fa5d36b1ca662c9da030ae7b137b60a8 Signed-off-by: Zhuohao Lee Reviewed-on: https://review.coreboot.org/c/coreboot/+/53908 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Nick Vaccaro --- src/mainboard/google/volteer/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig index bdfb6da3ce..291ffb8543 100644 --- a/src/mainboard/google/volteer/Kconfig +++ b/src/mainboard/google/volteer/Kconfig @@ -159,4 +159,12 @@ config VARIANT_HAS_MIPI_CAMERA bool default n +config CBFS_MCACHE_RW_PERCENTAGE + int + default 50 + +config CBFS_MCACHE_SIZE + hex + default 0x4000 + endif # BOARD_GOOGLE_BASEBOARD_VOLTEER -- cgit v1.2.3