drivers/intel/fsp2_0: Consolidate BUILDING_WITH_DEBUG_FSP option

Move the `BUILDING_WITH_DEBUG_FSP` Kconfig option from SoC-specific
files to the FSP2_0 driver Kconfig to avoid duplication. Also slightly
improves the option's prompt and help text.

TEST=Built and booted google/rex successfully.

Change-Id: I5c3dce59c396f6c1665a3ed1b8c1bb5df0f5a8d4
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84220
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
Subrata Banik 2024-09-05 13:18:32 +05:30
commit ef386e0768
4 changed files with 7 additions and 18 deletions

View file

@ -533,4 +533,11 @@ config FSP_PUBLISH_MBP_HOB
ChromeOS devices typically do not require the MBP information, hence it is disabled
by default on ChromeOS.
config BUILDING_WITH_DEBUG_FSP
bool "Use Debug FSP for Build"
default n
help
Enable this option if you are using a debug build of the FSP (Firmware Support Package)
in your project.
endif

View file

@ -493,12 +493,6 @@ config SI_DESC_REGION_SZ
help
Size of Descriptor Region in the FMAP
config BUILDING_WITH_DEBUG_FSP
bool "Debug FSP is used for the build"
default n
help
Set this option if debug build of FSP is used.
config INTEL_GMA_BCLV_OFFSET
default 0xc8258

View file

@ -380,12 +380,6 @@ config SOC_INTEL_GFX_FRAMEBUFFER_OFFSET
hex
default 0x800000
config BUILDING_WITH_DEBUG_FSP
bool "Debug FSP is used for the build"
default n
help
Set this option if debug build of FSP is used.
config DROP_CPU_FEATURE_PROGRAM_IN_FSP
bool
default y if MP_SERVICES_PPI_V2_NOOP || CHROMEOS

View file

@ -242,10 +242,4 @@ config MRC_CHANNEL_WIDTH
int
default 16
config BUILDING_WITH_DEBUG_FSP
bool "Debug FSP is used for the build"
default n
help
Set this option if debug build of FSP is used.
endif