From: Weijie Gao <weijie.gao@mediatek.com>
Date: Fri, 20 May 2022 03:23:53 +0000 (+0800)
Subject: spl: allow using nand base without standard nand driver
X-Git-Tag: v2025.01-rc5-pxa1908~1350^2~4
X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=4c4bf046a528947c843ec703f667cd36b88e315a;p=u-boot.git

spl: allow using nand base without standard nand driver

This patch removes the dependency to SPL_NAND_DRIVERS for SPL_NAND_BASE to
allow minimal spl nand driver to use nand base for probing NAND chips.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
---

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 931619c366..908d7d17fd 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -884,7 +884,7 @@ config SPL_NAND_SIMPLE
 	  expose the cmd_ctrl() interface.
 
 config SPL_NAND_BASE
-	depends on SPL_NAND_DRIVERS
+	depends on SPL_NAND_SUPPORT
 	bool "Use Base NAND Driver"
 	help
 	  Include nand_base.c in the SPL.