From df74d9b568ee20a48a8fa68f3be84127cb22b2d3 Mon Sep 17 00:00:00 2001 From: Tarun Tuli Date: Tue, 24 Jan 2023 13:28:06 +0000 Subject: [PATCH] soc/intel/alderlake: Increase cbmem buffer size to 256KB Current size of the cbmem buffer (128KB) is insufficient to contain the complete debug log causing the cbmem console buffer to wrap. This patch increases cbmem buffer size to 256KB so that the complete debug log can be stored in it. TEST=Make sure that logs from all the boot stages can be seen using 'cbmem -c'. Change-Id: I2099386dd87a010c3a5937bd896620270f587b1c Signed-off-by: Tarun Tuli Reviewed-on: https://review.coreboot.org/c/coreboot/+/71288 Reviewed-by: Subrata Banik Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) --- src/soc/intel/alderlake/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig index 5e3209a8fd..e4a513b25b 100644 --- a/src/soc/intel/alderlake/Kconfig +++ b/src/soc/intel/alderlake/Kconfig @@ -383,6 +383,10 @@ config PRERAM_CBMEM_CONSOLE_SIZE hex default 0x2000 +config CONSOLE_CBMEM_BUFFER_SIZE + hex + default 0x40000 + config FSP_TYPE_IOT bool default n