kernel: add a NAND_SUPPORT symbol
authorJohn Crispin <john@openwrt.org>
Wed, 11 Jun 2014 12:59:22 +0000 (12:59 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 11 Jun 2014 12:59:22 +0000 (12:59 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41122

scripts/metadata.pl
target/Config.in
target/linux/imx6/Makefile
target/linux/kirkwood/Makefile
target/linux/lantiq/Makefile
target/linux/lantiq/xrx200/target.mk
target/linux/lantiq/xway/target.mk
target/linux/omap/Makefile
target/linux/xburst/Makefile

index 250a85ed84e2e343678bf9c44221bab7cec143e7..eed1998d274bba8a01b2e876a41b12ad5cfc80df 100755 (executable)
@@ -184,6 +184,7 @@ sub target_config_features(@) {
                /mips16/ and $ret .= "\tselect HAS_MIPS16\n";
                /rfkill/ and $ret .= "\tselect RFKILL_SUPPORT\n";
                /low_mem/ and $ret .= "\tselect LOW_MEMORY_FOOTPRINT\n";
+               /nand/ and $ret .= "\tselect NAND_SUPPORT\n";
        }
        return $ret;
 }
index e0320fac4904e22d83c97d260d46faf6c141d7e0..14dec6db4a89e34e94ef9fe47d2748c53bc9aa84 100644 (file)
@@ -65,6 +65,7 @@ config USES_CPIOGZ
 
 config USES_UBIFS
        bool
+       select NAND_SUPPORT
 
 config PROFILE_KCONFIG
        bool
@@ -82,6 +83,9 @@ config HAS_MIPS16
 config RFKILL_SUPPORT
        bool
 
+config NAND_SUPPORT
+       bool
+
 config ARCH_64BIT
        bool
 
index 526ed2b09a7db158efddd4e6914516a5a086a204..a4660c55e360a49eef2777aa94ef380e233ebbe6 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=imx6
 BOARDNAME:=Freescale i.MX 6
-FEATURES:=audio display fpu gpio pcie rtc usb usbgadget squashfs targz ubifs
+FEATURES:=audio display fpu gpio pcie rtc usb usbgadget squashfs targz nand ubifs
 CPU_TYPE:=cortex-a9
 CPU_SUBTYPE:=neon
 MAINTAINER:=Luka Perkov <luka@openwrt.org>
index a14cf77eb39a6e6a883bab24217db1469c33ae5c..aeceb136985e06791c3b4380250f2025c46065b1 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=kirkwood
 BOARDNAME:=Marvell Kirkwood
-FEATURES:=targz usb jffs2_nand ubifs
+FEATURES:=targz usb jffs2_nand nand ubifs
 CPU_TYPE:=xscale
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
index 65839eb274481539756e6267698996ce04b8f2eb..c59e9067de4db9a6e19b087035edf1b8b6a0a2f4 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 BOARD:=lantiq
 BOARDNAME:=Lantiq
-FEATURES:=squashfs ubifs
+FEATURES:=squashfs
 SUBTARGETS=xway xrx200
 
 LINUX_VERSION:=3.10.36
index 0c646685a6ced3046a77d8941dd53ae21466cf20..726f79b3c76c7540af68a3ca4c86c8dd255eea2e 100644 (file)
@@ -1,7 +1,7 @@
 ARCH:=mips
 SUBTARGET:=xrx200
 BOARDNAME:=XRX200
-FEATURES:=squashfs atm mips16 jffs2 ubifs
+FEATURES:=squashfs atm mips16 jffs2 nand ubifs
 CPU_TYPE:=34kc
 CPU_SUBTYPE:=dsp
 
index 390eb2ac798d7f4b2f5c2b0e28a51831887f5a87..e8a287412b2240655f8a562521cfe3e160148811 100644 (file)
@@ -1,7 +1,7 @@
 ARCH:=mips
 SUBTARGET:=xway
 BOARDNAME:=XWAY
-FEATURES:=squashfs atm mips16 jffs2_nand ubifs
+FEATURES:=squashfs atm mips16 jffs2_nand nand ubifs
 CPU_TYPE:=34kc
 CPU_SUBTYPE:=dsp
 
index 3d0297ea94e1d7595a4b52f270e69946d2d9463c..5795c002d8c7b98777c798914f126b802e4bd8e0 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=omap
 BOARDNAME:=TI OMAP3/4/AM33xx
-FEATURES:=usb usbgadget ext4 targz fpu audio display ubifs
+FEATURES:=usb usbgadget ext4 targz fpu audio display nand ubifs
 CPU_TYPE:=cortex-a9
 CPU_SUBTYPE:=vfpv3
 
index 12ae8736cf032e544c476bf828e4e88c1832c065..259ffb980f161720b5e135ad6e65a5d305f59e15 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=mipsel
 BOARD:=xburst
 BOARDNAME:=Ingenic XBurst
-FEATURES:=targz ubifs audio
+FEATURES:=targz nand ubifs audio
 SUBTARGETS:=qi_lb60 n516 n526 id800wt
 
 LINUX_VERSION:=3.10.36