summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarun Tuli <taruntuli@google.com>2023-01-24 13:28:06 +0000
committerNick Vaccaro <nvaccaro@google.com>2023-01-24 17:50:09 +0000
commitdf74d9b568ee20a48a8fa68f3be84127cb22b2d3 (patch)
treeb0e1b5cd239047fb1f9f6327acb7146e64a17b97
parent2ccbcc560f01a7cd646b5012c3f680623c43ef96 (diff)
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 <taruntuli@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71288 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/alderlake/Kconfig4
1 files changed, 4 insertions, 0 deletions
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