summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2023-07-17 13:05:37 +0530
committerSubrata Banik <subratabanik@google.com>2023-07-19 13:02:09 +0000
commit5259568bda5c21b4640887f4c5b5bf85aa355342 (patch)
treeb71caa77b88c543657af6759a60f8632417e370e
parent9d783081945031db9745e7489987e07b88210f05 (diff)
soc/intel/alderlake: Use 1MB CBMEM console buffer with FSP debug
Patch to increase CONSOLE_CBMEM_BUFFER_SIZE to contain FSP debug serial log. The existing implementation uses larger cbmem size irrespective of FSP debug is enabled or not. Ideally. larger cbmem size is required only if FSP debug is enabled. Bug=b:284124701 TEST=Able to build and boot google/marasov. Change-Id: I9a9e660f2738813808e0dd65d2783424b49f9a5e Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76541 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-rw-r--r--src/soc/intel/alderlake/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig
index e106d7510b..782ce22f40 100644
--- a/src/soc/intel/alderlake/Kconfig
+++ b/src/soc/intel/alderlake/Kconfig
@@ -386,7 +386,7 @@ config PRERAM_CBMEM_CONSOLE_SIZE
config CONSOLE_CBMEM_BUFFER_SIZE
hex
- default 0x100000 if CONSOLE_SERIAL
+ default 0x100000 if BUILDING_WITH_DEBUG_FSP
default 0x40000
config FSP_TYPE_IOT