Skip to contentSkip to conversation

xPL: Make NAND_SUPPORT depend on !COMPILE_TEST

PATCH New Tom Rini 1 participant 1 message Oct 1, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 xPL: Make NAND_SUPPORT depend on !COMPILE_TEST

In order to compile NAND_SUPPORT files we need non-zero values for various parts of the NAND chip that would be expected. Rather than start to dummy this up in Kconfig, make these options depend on !COMPILE_TEST to start with.

---
 common/spl/Kconfig     | 1 +
 common/spl/Kconfig.tpl | 1 +
 2 files changed, 2 insertions(+)
common/spl/Kconfig +1 -0
index cb7b4179384b..defc8bd6a8ed 100644
@@ -977,6 +977,7 @@ config SPL_MUSB_NEW
 
 config SPL_NAND_SUPPORT
 	bool "Support NAND flash"
+	depends on !COMPILE_TEST
 	select SPL_LOAD_BLOCK
 	help
 	  Enable support for NAND (Negative AND) flash in SPL. NAND flash
common/spl/Kconfig.tpl +1 -0
index a535b61ecd35..19ce3d92e65b 100644
@@ -236,6 +236,7 @@ config TPL_MMC
 
 config TPL_NAND_SUPPORT
 	bool "Support NAND flash"
+	depends on !COMPILE_TEST
 	help
 	  Enable support for NAND in TPL. See SPL_NAND_SUPPORT for details.
 
Signature · 1 line
2.43.0