summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKapil Porwal <kapilporwal@google.com>2023-01-18 01:20:40 +0530
committerSubrata Banik <subratabanik@google.com>2023-01-19 09:48:10 +0000
commitb10a4bf002a6cc6154d2eaeabcca1068aeea039f (patch)
tree4becce4e079e6ec1f1d2abd504437bb97ef79597
parent1eb4425203910eebea19267ffd27aafe22e0b8d6 (diff)
soc/intel/meteorlake: Increase cbmem buffer size for the debug image
Currently most of the FSP debug messages (when enabled) are truncated due to insufficient size of cbmem buffer. Increase premem cbmem console size to 0x16000 bytes and cbmem buffer size to 0x100000 bytes so that cbmem buffer can contain most of the debug logs when FSP debug messages are enabled. BUG=b:265683565 TEST=Verify output of 'cbmem -c' when FSP debug messages are enabled but MRC debug message. Note: Still 350/2200 lines of premem messages are missing. Signed-off-by: Kapil Porwal <kapilporwal@google.com> Change-Id: I120423e1dd2bc468cf9cec6da1246ac3c0a155e5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72048 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/meteorlake/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/meteorlake/Kconfig b/src/soc/intel/meteorlake/Kconfig
index 92df0ed9ff..2ae9ace7ba 100644
--- a/src/soc/intel/meteorlake/Kconfig
+++ b/src/soc/intel/meteorlake/Kconfig
@@ -294,10 +294,12 @@ config CBFS_SIZE
config PRERAM_CBMEM_CONSOLE_SIZE
hex
+ default 0x16000 if CONSOLE_SERIAL
default 0x2000
config CONSOLE_CBMEM_BUFFER_SIZE
hex
+ default 0x100000 if CONSOLE_SERIAL
default 0x40000
config FSP_HEADER_PATH