From 1eb4425203910eebea19267ffd27aafe22e0b8d6 Mon Sep 17 00:00:00 2001 From: Kapil Porwal Date: Wed, 18 Jan 2023 01:10:04 +0530 Subject: soc/intel/meteorlake: Increase cbmem buffer size to 256KB Current size of the cbmem buffer (128KB) is insufficient to contain the complete debug logs which is more than 166KB hence, cbmem console buffer has wound off to contain the maximum possible debug messages within the allocated buffer as results, we are seeing truncated debug message while looking into the cbmem console. This patch increases cbmem buffer size to 256KB so that the complete debug log can be stored in it. BUG=b:265683565 TEST=Make sure that logs from all the boot stages can be seen using 'cbmem -c'. Signed-off-by: Kapil Porwal Change-Id: Ibeabb61d60491b831252b7161c9d3181fbe09e73 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72047 Reviewed-by: Subrata Banik Reviewed-by: Usha P Tested-by: build bot (Jenkins) --- src/soc/intel/meteorlake/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/soc/intel/meteorlake/Kconfig b/src/soc/intel/meteorlake/Kconfig index b02fcff01b..92df0ed9ff 100644 --- a/src/soc/intel/meteorlake/Kconfig +++ b/src/soc/intel/meteorlake/Kconfig @@ -296,6 +296,10 @@ config PRERAM_CBMEM_CONSOLE_SIZE hex default 0x2000 +config CONSOLE_CBMEM_BUFFER_SIZE + hex + default 0x40000 + config FSP_HEADER_PATH string "Location of FSP headers" default "src/vendorcode/intel/fsp/fsp2_0/meteorlake/" -- cgit v1.2.3