From: Dinesh Maniyam <[email protected]>

Use imply instead of select for SPL_NAND_FRAMEWORK_CAPABLE on
SoCFPGA Agilex and Agilex7M platforms.

SPL_NAND_FRAMEWORK_CAPABLE is a platform capability hint and should
not be forced when its functional dependencies are not enabled.
Using imply avoids Kconfig dependency warnings while allowing the
feature to be enabled when appropriate.

Signed-off-by: Dinesh Maniyam <[email protected]>
---
 arch/arm/mach-socfpga/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index f2e959b5662..3b56209c3f8 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -59,6 +59,7 @@ config TARGET_SOCFPGA_AGILEX
        select NCORE_CACHE
        select SPL_CLK if SPL
        select TARGET_SOCFPGA_SOC64
+       imply SPL_NAND_FRAMEWORK_CAPABLE
 
 config TARGET_SOCFPGA_AGILEX7M
        bool
@@ -71,6 +72,7 @@ config TARGET_SOCFPGA_AGILEX7M
        select NCORE_CACHE
        select SPL_CLK if SPL
        select TARGET_SOCFPGA_SOC64
+       imply SPL_NAND_FRAMEWORK_CAPABLE
 
 config TARGET_SOCFPGA_AGILEX5
        bool
-- 
2.43.7

Reply via email to