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