summaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer
diff options
context:
space:
mode:
authorZhuohao Lee <zhuohao@chromium.org>2021-05-07 20:36:16 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-05-08 02:47:28 +0000
commit509b0a97f6a44ea85a8a37087a03526dd513a88f (patch)
treecb8bbadc6a8fee7222c5dd4f71c5e2876f977da3 /src/mainboard/google/volteer
parent6ea8033705a611518948e1f61cef2afed1b5341d (diff)
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 <zhuohao@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/53908 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Diffstat (limited to 'src/mainboard/google/volteer')
-rw-r--r--src/mainboard/google/volteer/Kconfig8
1 files changed, 8 insertions, 0 deletions
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