drivers/intel/fsp2_0: Move Debug options to "Debugging"

Change-Id: I8e07c8186baf3d8e91b77c5afb731d26a1abfbaf
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36165
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/src/Kconfig b/src/Kconfig
index 2b5f05e..4002d43 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -740,6 +740,9 @@
 comment "CPU Debug Settings"
 source "src/cpu/*/Kconfig.debug_cpu"
 
+comment "BLOB Debug Settings"
+source "src/drivers/intel/fsp*/Kconfig.debug_blob"
+
 comment "General Debug Settings"
 
 # TODO: Better help text and detailed instructions.
diff --git a/src/drivers/intel/fsp2_0/Kconfig b/src/drivers/intel/fsp2_0/Kconfig
index b434a51..3403df9 100644
--- a/src/drivers/intel/fsp2_0/Kconfig
+++ b/src/drivers/intel/fsp2_0/Kconfig
@@ -37,32 +37,6 @@
 	  Add the FSP-M and FSP-S binaries to CBFS. Currently coreboot does not
 	  use the FSP-T binary and it is not added.
 
-config DISPLAY_FSP_CALLS_AND_STATUS
-	bool "Display the FSP calls and status"
-	default n
-	help
-	  Display the FSP call entry point and parameters prior to calling FSP
-	  and display the status upon return from FSP.
-
-config DISPLAY_FSP_HEADER
-	bool "Display the FSP header"
-	default n
-	help
-	  Display the FSP header information when the FSP file is found.
-
-config DISPLAY_HOBS
-	bool "Display the hand-off-blocks"
-	default n
-	help
-	  Display the FSP HOBs which are provided for coreboot.
-
-config DISPLAY_UPD_DATA
-	bool "Display UPD data"
-	default n
-	help
-	  Display the user specified product data prior to memory
-	  initialization.
-
 config CPU_MICROCODE_CBFS_LEN
 	hex "Microcode update region length in bytes"
 	depends on FSP_CAR
@@ -158,22 +132,10 @@
 	  stack with coreboot/bootloader.
 	  Sync this value with Platform FSP integration guide recommendation.
 
-config VERIFY_HOBS
-	bool "Verify the FSP hand-off-blocks"
-	default n
-	help
-	  Verify that the HOBs required by coreboot are returned by FSP and
-	  that the resource HOBs are in the correct order and position.
-
 config RESET_ON_INVALID_RAMSTAGE_CACHE
 	bool "Reset the system on S3 wake when ramstage cache invalid."
 	default n
 
-config DISPLAY_FSP_VERSION_INFO
-	bool "Display Firmware Ingredient Version Information"
-	help
-	  Select this option to display Firmware version information.
-
 config FSP2_0_USES_TPM_MRC_HASH
 	bool
 	depends on TPM1 || TPM2
diff --git a/src/drivers/intel/fsp2_0/Kconfig.debug_blob b/src/drivers/intel/fsp2_0/Kconfig.debug_blob
new file mode 100644
index 0000000..2b10c2d
--- /dev/null
+++ b/src/drivers/intel/fsp2_0/Kconfig.debug_blob
@@ -0,0 +1,41 @@
+if PLATFORM_USES_FSP2_0
+
+config DISPLAY_FSP_CALLS_AND_STATUS
+	bool "Display the FSP calls and status"
+	default n
+	help
+	  Display the FSP call entry point and parameters prior to calling FSP
+	  and display the status upon return from FSP.
+
+config DISPLAY_FSP_HEADER
+	bool "Display the FSP header"
+	default n
+	help
+	  Display the FSP header information when the FSP file is found.
+
+config DISPLAY_HOBS
+	bool "Display the hand-off-blocks"
+	default n
+	help
+	  Display the FSP HOBs which are provided for coreboot.
+
+config DISPLAY_UPD_DATA
+	bool "Display UPD data"
+	default n
+	help
+	  Display the user specified product data prior to memory
+	  initialization.
+
+config VERIFY_HOBS
+	bool "Verify the FSP hand-off-blocks"
+	default n
+	help
+	  Verify that the HOBs required by coreboot are returned by FSP and
+	  that the resource HOBs are in the correct order and position.
+
+config DISPLAY_FSP_VERSION_INFO
+	bool "Display Firmware Ingredient Version Information"
+	help
+	  Select this option to display Firmware version information.
+
+endif # PLATFORM_USES_FSP2_0