summaryrefslogtreecommitdiffstats
path: root/src/soc/amd
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2022-11-17 23:07:28 -0700
committerArthur Heymans <arthur@aheymans.xyz>2022-11-21 19:56:34 +0000
commit4763a5a4700f200a0f779d60536077d08316a3b7 (patch)
tree15ee3722a1f9f6f7e8c88fdd10bfd18de2617c3c /src/soc/amd
parent9aea4ec9a5d8c332d6682d05c78f010bba193e6f (diff)
downloadcoreboot-4763a5a4700f200a0f779d60536077d08316a3b7.tar.gz
coreboot-4763a5a4700f200a0f779d60536077d08316a3b7.tar.bz2
coreboot-4763a5a4700f200a0f779d60536077d08316a3b7.zip
soc/amd/mendocino: Increase CBFS_MCACHE size
CBFS_MCACHE is currently experiencing overflow with CBFS verification enabled. Reduce the pre-x86 cbmem console size from ~5.5 KiB to 4 KiB. This reduction along with the available free space in PSP shared buffer (32 KiB) helps to increase the CBFS_MCACHE size from 8 KiB to required 14 KiB. BUG=b:259342909 TEST=Build and boot to OS in Skyrim. Ensure that there are no CBFS mcache overflows. FMAP: area COREBOOT found @ 80a000 (8347648 bytes) VB2:vb2_digest_init() 0 bytes, hash algo 2, HW acceleration unsupported CBFS: mcache @0x00019a40 built for 67 files, used 0x19a0 of 0x1c00 bytes CBFS: Found 'apu/amdfw_a' @0x0 size 0x3ff80 in mcache @0x0001b640 VB2:vb2_digest_init() 262016 bytes, hash algo 2, HW acceleration enabled Ensure that firmware_CbfsMcache FAFT test is successful. Change-Id: I35e1a8c6d73e0870b6a43aac604f83a0b6c3aabe Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69827 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/mendocino/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/mendocino/Kconfig b/src/soc/amd/mendocino/Kconfig
index 05c349f16563..5dd21641ee05 100644
--- a/src/soc/amd/mendocino/Kconfig
+++ b/src/soc/amd/mendocino/Kconfig
@@ -155,7 +155,7 @@ config PSP_SHAREDMEM_SIZE
config PRE_X86_CBMEM_CONSOLE_SIZE
hex
- default 0x1600
+ default 0x1000
help
Size of the CBMEM console used in PSP verstage.
@@ -167,7 +167,7 @@ config PRERAM_CBMEM_CONSOLE_SIZE
config CBFS_MCACHE_SIZE
hex
- default 0x2000 if VBOOT_STARTS_BEFORE_BOOTBLOCK
+ default 0x3800 if VBOOT_STARTS_BEFORE_BOOTBLOCK
config C_ENV_BOOTBLOCK_SIZE
hex