This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <s...@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 --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
-- 
2.39.1.581.gbfd45094c4-goog

Reply via email to