]> git.sur5r.net Git - u-boot/commitdiff
sunxi: make NAND_SUNXI use ARCH_SUNXI as default in Kconfig
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 28 Feb 2018 19:52:00 +0000 (20:52 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 3 Apr 2018 10:13:27 +0000 (12:13 +0200)
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>
configs/CHIP_pro_defconfig
drivers/mtd/nand/Kconfig

index a969fc07de99f2e492a4f13fef96c5cfcb090f80..9235e34edadd8aeb523e037ed002c5a77002c959 100644 (file)
@@ -15,7 +15,6 @@ CONFIG_ENV_UBI_PART="UBI"
 CONFIG_ENV_UBI_VOLUME="uboot-env"
 # CONFIG_MMC is not set
 CONFIG_NAND=y
-CONFIG_NAND_SUNXI=y
 CONFIG_AXP_ALDO3_VOLT=3300
 CONFIG_AXP_ALDO4_VOLT=3300
 CONFIG_CONS_INDEX=2
index 75eefc8a2b580f0cdad195cad2ee2584e7ad75bd..cf323c5348dc474f7c53cd81463c3dd5092eb1b9 100644 (file)
@@ -95,6 +95,7 @@ config NAND_PXA3XX
 
 config NAND_SUNXI
        bool "Support for NAND on Allwinner SoCs"
+       default ARCH_SUNXI
        depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUN8I
        select SYS_NAND_SELF_INIT
        select SYS_NAND_U_BOOT_LOCATIONS