diff mbox series

[v3,26/95] lib: Add a Kconfig for SPL_FSP_VERSION2

Message ID 20230212231638.1134219-27-sjg@chromium.org
State RFC
Delegated to: Tom Rini
Headers show
Series RFC: Migrate to split config | expand

Commit Message

Simon Glass Feb. 12, 2023, 11:15 p.m. UTC
This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v3:
- Add new patch with a Kconfig for SPL_FSP_VERSION2

 arch/x86/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 07be5cd05ec..cede5160480 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -396,12 +396,19 @@  config FSP_VERSION1
 config FSP_VERSION2
 	bool "FSP version 2.x"
 	select DM_EVENT
+	select SPL_FSP_VERSION2
 	help
 	  This covers versions 2.0 and 2.1. See here for details:
 	  https://github.com/IntelFsp/fsp/wiki
 
 endchoice
 
+config SPL_FSP_VERSION2
+	bool   # FSP version 2.x (SPL)
+	help
+	  This covers versions 2.0 and 2.1. See here for details:
+	  https://github.com/IntelFsp/fsp/wiki
+
 config FSP_FILE
 	string "Firmware Support Package binary filename"
 	depends on FSP_VERSION1