kernel: add a NAND_SUPPORT symbol

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41122
This commit is contained in:
John Crispin 2014-06-11 12:59:22 +00:00
parent 28a563dec3
commit ac5d5cbc79
9 changed files with 12 additions and 7 deletions

View file

@ -184,6 +184,7 @@ sub target_config_features(@) {
/mips16/ and $ret .= "\tselect HAS_MIPS16\n"; /mips16/ and $ret .= "\tselect HAS_MIPS16\n";
/rfkill/ and $ret .= "\tselect RFKILL_SUPPORT\n"; /rfkill/ and $ret .= "\tselect RFKILL_SUPPORT\n";
/low_mem/ and $ret .= "\tselect LOW_MEMORY_FOOTPRINT\n"; /low_mem/ and $ret .= "\tselect LOW_MEMORY_FOOTPRINT\n";
/nand/ and $ret .= "\tselect NAND_SUPPORT\n";
} }
return $ret; return $ret;
} }

View file

@ -65,6 +65,7 @@ config USES_CPIOGZ
config USES_UBIFS config USES_UBIFS
bool bool
select NAND_SUPPORT
config PROFILE_KCONFIG config PROFILE_KCONFIG
bool bool
@ -82,6 +83,9 @@ config HAS_MIPS16
config RFKILL_SUPPORT config RFKILL_SUPPORT
bool bool
config NAND_SUPPORT
bool
config ARCH_64BIT config ARCH_64BIT
bool bool

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm ARCH:=arm
BOARD:=imx6 BOARD:=imx6
BOARDNAME:=Freescale i.MX 6 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_TYPE:=cortex-a9
CPU_SUBTYPE:=neon CPU_SUBTYPE:=neon
MAINTAINER:=Luka Perkov <luka@openwrt.org> MAINTAINER:=Luka Perkov <luka@openwrt.org>

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm ARCH:=arm
BOARD:=kirkwood BOARD:=kirkwood
BOARDNAME:=Marvell Kirkwood BOARDNAME:=Marvell Kirkwood
FEATURES:=targz usb jffs2_nand ubifs FEATURES:=targz usb jffs2_nand nand ubifs
CPU_TYPE:=xscale CPU_TYPE:=xscale
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>

View file

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
BOARD:=lantiq BOARD:=lantiq
BOARDNAME:=Lantiq BOARDNAME:=Lantiq
FEATURES:=squashfs ubifs FEATURES:=squashfs
SUBTARGETS=xway xrx200 SUBTARGETS=xway xrx200
LINUX_VERSION:=3.10.36 LINUX_VERSION:=3.10.36

View file

@ -1,7 +1,7 @@
ARCH:=mips ARCH:=mips
SUBTARGET:=xrx200 SUBTARGET:=xrx200
BOARDNAME:=XRX200 BOARDNAME:=XRX200
FEATURES:=squashfs atm mips16 jffs2 ubifs FEATURES:=squashfs atm mips16 jffs2 nand ubifs
CPU_TYPE:=34kc CPU_TYPE:=34kc
CPU_SUBTYPE:=dsp CPU_SUBTYPE:=dsp

View file

@ -1,7 +1,7 @@
ARCH:=mips ARCH:=mips
SUBTARGET:=xway SUBTARGET:=xway
BOARDNAME:=XWAY BOARDNAME:=XWAY
FEATURES:=squashfs atm mips16 jffs2_nand ubifs FEATURES:=squashfs atm mips16 jffs2_nand nand ubifs
CPU_TYPE:=34kc CPU_TYPE:=34kc
CPU_SUBTYPE:=dsp CPU_SUBTYPE:=dsp

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm ARCH:=arm
BOARD:=omap BOARD:=omap
BOARDNAME:=TI OMAP3/4/AM33xx 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_TYPE:=cortex-a9
CPU_SUBTYPE:=vfpv3 CPU_SUBTYPE:=vfpv3

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mipsel ARCH:=mipsel
BOARD:=xburst BOARD:=xburst
BOARDNAME:=Ingenic XBurst BOARDNAME:=Ingenic XBurst
FEATURES:=targz ubifs audio FEATURES:=targz nand ubifs audio
SUBTARGETS:=qi_lb60 n516 n526 id800wt SUBTARGETS:=qi_lb60 n516 n526 id800wt
LINUX_VERSION:=3.10.36 LINUX_VERSION:=3.10.36