ARM: BCM: Do not select CONFIG_MTD_NAND_BRCMNAND
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 27 Jun 2015 16:25:43 +0000 (09:25 -0700)
committerKevin Hilman <khilman@linaro.org>
Wed, 1 Jul 2015 20:04:13 +0000 (13:04 -0700)
commitd80d942bcc8e1555a76774d20be9800cfef2d415
tree655752aea72f0a2a7c19b7b4a2f4f7d287e0f228
parent375d610ff54e98e161abc7eba71bb80c2cf9a106
ARM: BCM: Do not select CONFIG_MTD_NAND_BRCMNAND

This reverts 7dc95b40f599293aedf30432749ad25b51549041 ("ARM: BCM: Enable
NAND support for iProc SoCs") since it creates an unmet dependency for
MTD_NAND_BRCMNAND which depends on MTD and MTD_NAND, this results in the
following build failure for brcmnand:

 LD      init/built-in.o
drivers/built-in.o: In function `brcmnand_remove':
/home/fainelli/dev/linux/drivers/mtd/nand/brcmnand/brcmnand.c:2234:
undefined reference to `nand_release'
drivers/built-in.o: In function `brcmnand_init_cs':
/home/fainelli/dev/linux/drivers/mtd/nand/brcmnand/brcmnand.c:1933:
undefined reference to `nand_scan_ident'
/home/fainelli/dev/linux/drivers/mtd/nand/brcmnand/brcmnand.c:1958:
undefined reference to `nand_scan_tail'
Makefile:931: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

Instead, select this driver an all dependencies on the
multi_v7_defconfig.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
arch/arm/mach-bcm/Kconfig