summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarun Tuli <taruntuli@google.com>2023-01-24 13:31:10 +0000
committerNick Vaccaro <nvaccaro@google.com>2023-01-24 21:40:29 +0000
commitd244790e3bec3f5dc9f557361b81694f0145b8a0 (patch)
tree590eb1d88e0fb1f30c3f55c2fbedea1f5fae1552
parentdf74d9b568ee20a48a8fa68f3be84127cb22b2d3 (diff)
soc/intel/alderlake: 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. TEST=Verify output of 'cbmem -c' when FSP debug messages are enabled but MRC debug message. Change-Id: I0273fb14916f213b686270a9dec4c1b47612af4d Signed-off-by: Tarun Tuli <taruntuli@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71289 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/alderlake/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig
index e4a513b25b..ac0a9299d7 100644
--- a/src/soc/intel/alderlake/Kconfig
+++ b/src/soc/intel/alderlake/Kconfig
@@ -381,10 +381,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_TYPE_IOT