Browse Source

kernel: add a NAND_SUPPORT symbol

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 41122
John Crispin 11 years ago
parent
commit
ac5d5cbc79

+ 1 - 0
scripts/metadata.pl

@@ -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;
 }

+ 4 - 0
target/Config.in

@@ -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
 

+ 1 - 1
target/linux/imx6/Makefile

@@ -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 <[email protected]>

+ 1 - 1
target/linux/kirkwood/Makefile

@@ -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 <[email protected]>
 

+ 1 - 1
target/linux/lantiq/Makefile

@@ -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

+ 1 - 1
target/linux/lantiq/xrx200/target.mk

@@ -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
 

+ 1 - 1
target/linux/lantiq/xway/target.mk

@@ -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
 

+ 1 - 1
target/linux/omap/Makefile

@@ -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
 

+ 1 - 1
target/linux/xburst/Makefile

@@ -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