Commit 6d094d535c121637775b5108f1e78e426017f757

Authored by Miquel Raynal
Committed by Maxime Ripard
1 parent 491feffa88

sunxi: automatically select SPL_NAND_SUPPORT in Kconfig

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>

Showing 2 changed files with 1 additions and 1 deletions Side-by-side Diff

configs/CHIP_pro_defconfig
1 1 CONFIG_ARM=y
2 2 CONFIG_ARCH_SUNXI=y
3   -CONFIG_SPL_NAND_SUPPORT=y
4 3 CONFIG_MACH_SUN5I=y
5 4 CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
6 5 CONFIG_USB0_VBUS_PIN="PB10"
drivers/mtd/nand/Kconfig
... ... @@ -98,6 +98,7 @@
98 98 depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUN8I
99 99 select SYS_NAND_SELF_INIT
100 100 select SYS_NAND_U_BOOT_LOCATIONS
  101 + select SPL_NAND_SUPPORT
101 102 imply CMD_NAND
102 103 ---help---
103 104 Enable support for NAND. This option enables the standard and