Commit b56052f4ca40d0d8b29fb7bd3be4c104618e4fc8

Authored by Miquel Raynal
Committed by Maxime Ripard
1 parent 6d094d535c

sunxi: make NAND_SUNXI use ARCH_SUNXI as default in Kconfig

Remove NAND_SUNXI from the CHIP pro defconfig to be automatically
selected depending on the state of ARCH_SUNXI.

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
... ... @@ -15,7 +15,6 @@
15 15 CONFIG_ENV_UBI_VOLUME="uboot-env"
16 16 # CONFIG_MMC is not set
17 17 CONFIG_NAND=y
18   -CONFIG_NAND_SUNXI=y
19 18 CONFIG_AXP_ALDO3_VOLT=3300
20 19 CONFIG_AXP_ALDO4_VOLT=3300
21 20 CONFIG_CONS_INDEX=2
drivers/mtd/nand/Kconfig
... ... @@ -95,6 +95,7 @@
95 95  
96 96 config NAND_SUNXI
97 97 bool "Support for NAND on Allwinner SoCs"
  98 + default ARCH_SUNXI
98 99 depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUN8I
99 100 select SYS_NAND_SELF_INIT
100 101 select SYS_NAND_U_BOOT_LOCATIONS