From 9d783081945031db9745e7489987e07b88210f05 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 17 Jul 2023 11:16:16 +0530 Subject: [PATCH] soc/intel/{adl, mtl}: Reduce CAR usage while using FSP debug binaries Reduces the CAR (Cache-as-RAM) variable usage while using FSP debug binaries, which can prevent the CAR from becoming too full and unable to integrate other CAR global variables. This change has the following downsides: - FSP debug output into the cbmem buffer will be partial. To test this change, you can: Build and boot google/rex without any function impact with non-serial and serial FSP debug image (unless what has been documented here). Bug=b:284124701 TEST=Able to build and boot google/rex. Change-Id: I16a1aa25fd32327d03a37381a696c86c95014ba0 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/76540 Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal Reviewed-by: Arthur Heymans --- src/soc/intel/alderlake/Kconfig | 1 - src/soc/intel/meteorlake/Kconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig index 37ce1baf68..e106d7510b 100644 --- a/src/soc/intel/alderlake/Kconfig +++ b/src/soc/intel/alderlake/Kconfig @@ -382,7 +382,6 @@ config CBFS_SIZE config PRERAM_CBMEM_CONSOLE_SIZE hex - default 0x16000 if CONSOLE_SERIAL default 0x4000 config CONSOLE_CBMEM_BUFFER_SIZE diff --git a/src/soc/intel/meteorlake/Kconfig b/src/soc/intel/meteorlake/Kconfig index c565be8166..29c46df8f4 100644 --- a/src/soc/intel/meteorlake/Kconfig +++ b/src/soc/intel/meteorlake/Kconfig @@ -329,7 +329,6 @@ config CBFS_SIZE config PRERAM_CBMEM_CONSOLE_SIZE hex - default 0x16000 if BUILDING_WITH_DEBUG_FSP default 0x2000 config CONSOLE_CBMEM_BUFFER_SIZE