spl: allow using nand base without standard nand driver
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 20 May 2022 03:23:53 +0000 (11:23 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 13 Jul 2022 21:03:37 +0000 (23:03 +0200)
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>
common/spl/Kconfig

index 931619c..908d7d1 100644 (file)
@@ -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.