aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/config-3.2
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2012-03-14 22:59:39 +0000
committerHauke Mehrtens <hauke@openwrt.org>2012-03-14 22:59:39 +0000
commit7571b64ce8d2d30bef0985721fcf4f7bf831cf0c (patch)
tree99b378809a88a69b8e547e366b4938c1ad5a64ff /target/linux/brcm47xx/config-3.2
parent316189c9ac9a0daa8689932b1f2aa0f467010210 (diff)
downloadupstream-7571b64ce8d2d30bef0985721fcf4f7bf831cf0c.tar.gz
upstream-7571b64ce8d2d30bef0985721fcf4f7bf831cf0c.tar.bz2
upstream-7571b64ce8d2d30bef0985721fcf4f7bf831cf0c.zip
brcm47xx: add support for NAND flash on devices using bcma
This patch add support for the NAND flash on BCM5357 based devices like the WNR3500Lv2. Thank you Tathagata Das <tathagata@alumnux.com> for the patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30943 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/config-3.2')
-rw-r--r--target/linux/brcm47xx/config-3.25
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/config-3.2 b/target/linux/brcm47xx/config-3.2
index e4641ed10e..39fac67ad2 100644
--- a/target/linux/brcm47xx/config-3.2
+++ b/target/linux/brcm47xx/config-3.2
@@ -24,6 +24,7 @@ CONFIG_BCMA_DRIVER_PCI_HOSTMODE=y
CONFIG_BCMA_HOST_PCI=y
CONFIG_BCMA_HOST_PCI_POSSIBLE=y
CONFIG_BCMA_HOST_SOC=y
+CONFIG_BCMA_NFLASH=y
CONFIG_BCMA_POSSIBLE=y
CONFIG_BCMA_SFLASH=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
@@ -94,6 +95,10 @@ CONFIG_MIPS_MT_DISABLED=y
CONFIG_MTD_BCM47XX_PARTS=y
CONFIG_MTD_BCM47XX_PFLASH=y
CONFIG_MTD_BCM47XX_SFLASH=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_BCM47XX=y
+CONFIG_MTD_NAND_ECC=y
+# CONFIG_MTD_SM_COMMON is not set
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_PER_CPU_KM=y
CONFIG_PAGEFLAGS_EXTENDED=y