sunxi: automatically select SPL_NAND_SUPPORT in Kconfig
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 28 Feb 2018 19:51:59 +0000 (20:51 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 3 Apr 2018 10:13:06 +0000 (12:13 +0200)
Make SUNXI_NAND select SPL_NAND_SUPPORT in Kconfig, this limit the
number of entries to add in defconfig files when adding NAND support.

For now, the only board using it is the CHIP pro.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
configs/CHIP_pro_defconfig
drivers/mtd/nand/Kconfig

index 60dcaa76db10f5f400e645b0b1d9a72143b37d33..a969fc07de99f2e492a4f13fef96c5cfcb090f80 100644 (file)
@@ -1,6 +1,5 @@
 CONFIG_ARM=y
 CONFIG_ARCH_SUNXI=y
-CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_MACH_SUN5I=y
 CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
 CONFIG_USB0_VBUS_PIN="PB10"
index dcb8ff66ae1e9744c8e90dbe38e1609a652aa7f5..75eefc8a2b580f0cdad195cad2ee2584e7ad75bd 100644 (file)
@@ -98,6 +98,7 @@ config NAND_SUNXI
        depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUN8I
        select SYS_NAND_SELF_INIT
        select SYS_NAND_U_BOOT_LOCATIONS
+       select SPL_NAND_SUPPORT
        imply CMD_NAND
        ---help---
        Enable support for NAND. This option enables the standard and