From b10a4bf002a6cc6154d2eaeabcca1068aeea039f Mon Sep 17 00:00:00 2001 From: Kapil Porwal Date: Wed, 18 Jan 2023 01:20:40 +0530 Subject: 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 Change-Id: I120423e1dd2bc468cf9cec6da1246ac3c0a155e5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72048 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/soc/intel/meteorlake/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3