ar71xx: add a new subtarget for nand based devices - saves around 44k on the lzma...
authorFelix Fietkau <nbd@openwrt.org>
Fri, 7 May 2010 16:20:32 +0000 (16:20 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 7 May 2010 16:20:32 +0000 (16:20 +0000)
SVN-Revision: 21396

40 files changed:
target/linux/ar71xx/Makefile
target/linux/ar71xx/config-2.6.32
target/linux/ar71xx/config-2.6.33
target/linux/ar71xx/config-2.6.34
target/linux/ar71xx/generic/config-default [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/00-default.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/01-minimal.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/02-madwifi.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/atheros.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/atlantis.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/buffalo.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/compex.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/d-link.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/linksys.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/netgear.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/planex.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/tp-link.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/trendnet.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/ubnt.mk [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/zyxel.mk [new file with mode: 0644]
target/linux/ar71xx/generic/target.mk [new file with mode: 0644]
target/linux/ar71xx/nand/config-default [new file with mode: 0644]
target/linux/ar71xx/nand/profiles/01-minimal.mk [new file with mode: 0644]
target/linux/ar71xx/nand/profiles/02-madwifi.mk [new file with mode: 0644]
target/linux/ar71xx/nand/target.mk [new file with mode: 0644]
target/linux/ar71xx/profiles/00-default.mk [deleted file]
target/linux/ar71xx/profiles/01-minimal.mk [deleted file]
target/linux/ar71xx/profiles/02-madwifi.mk [deleted file]
target/linux/ar71xx/profiles/atheros.mk [deleted file]
target/linux/ar71xx/profiles/atlantis.mk [deleted file]
target/linux/ar71xx/profiles/buffalo.mk [deleted file]
target/linux/ar71xx/profiles/compex.mk [deleted file]
target/linux/ar71xx/profiles/d-link.mk [deleted file]
target/linux/ar71xx/profiles/linksys.mk [deleted file]
target/linux/ar71xx/profiles/netgear.mk [deleted file]
target/linux/ar71xx/profiles/planex.mk [deleted file]
target/linux/ar71xx/profiles/tp-link.mk [deleted file]
target/linux/ar71xx/profiles/trendnet.mk [deleted file]
target/linux/ar71xx/profiles/ubnt.mk [deleted file]
target/linux/ar71xx/profiles/zyxel.mk [deleted file]

index 540fe51d1cd3b15801b4c61adbd4aeb1f7c12c97..d3bf6878d818ae18e35b9e81b97ce972a4e46e06 100644 (file)
@@ -11,6 +11,7 @@ BOARD:=ar71xx
 BOARDNAME:=Atheros AR71xx/AR7240/AR913x
 FEATURES:=squashfs jffs2 targz
 CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time
+SUBTARGETS:=generic nand
 
 LINUX_VERSION:=2.6.32.12
 
index 5c17220634ff13a60bfc52c9625c0be748dede14..8987a634390af27a33aaed78273fdc09a4b993a3 100644 (file)
@@ -164,9 +164,6 @@ CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_JEDECPROBE=y
 CONFIG_MTD_M25P80=y
 CONFIG_MTD_MYLOADER_PARTS=y
-CONFIG_MTD_NAND=y
-CONFIG_MTD_NAND_RB4XX=y
-CONFIG_MTD_NAND_RB750=y
 CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-2
 CONFIG_MTD_REDBOOT_PARTS=y
 CONFIG_MTD_WRT160NL_PARTS=y
@@ -240,13 +237,4 @@ CONFIG_TRAD_SIGNALS=y
 # CONFIG_TREE_PREEMPT_RCU is not set
 CONFIG_TREE_RCU=y
 CONFIG_USB_SUPPORT=y
-CONFIG_YAFFS_9BYTE_TAGS=y
-CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y
-CONFIG_YAFFS_AUTO_YAFFS2=y
-# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
-# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
-CONFIG_YAFFS_FS=y
-CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
-CONFIG_YAFFS_YAFFS1=y
-CONFIG_YAFFS_YAFFS2=y
 CONFIG_ZONE_DMA_FLAG=0
index ca49737f78588baaef25ebca607939c6a7dd81f0..0cd23586621e3908709238f95e02f8b036397f69 100644 (file)
@@ -203,9 +203,6 @@ CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_JEDECPROBE=y
 CONFIG_MTD_M25P80=y
 CONFIG_MTD_MYLOADER_PARTS=y
-CONFIG_MTD_NAND=y
-CONFIG_MTD_NAND_RB4XX=y
-CONFIG_MTD_NAND_RB750=y
 CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-2
 CONFIG_MTD_REDBOOT_PARTS=y
 CONFIG_MTD_WRT160NL_PARTS=y
@@ -281,13 +278,4 @@ CONFIG_TRAD_SIGNALS=y
 # CONFIG_TREE_PREEMPT_RCU is not set
 CONFIG_TREE_RCU=y
 CONFIG_USB_SUPPORT=y
-CONFIG_YAFFS_9BYTE_TAGS=y
-CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y
-CONFIG_YAFFS_AUTO_YAFFS2=y
-# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
-# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
-CONFIG_YAFFS_FS=y
-CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
-CONFIG_YAFFS_YAFFS1=y
-CONFIG_YAFFS_YAFFS2=y
 CONFIG_ZONE_DMA_FLAG=0
index 7085b227bbb6d409eb48208506f3abd97a80c6a1..b11442c13ca6f1cdeca8c35d4708ed8ce735e512 100644 (file)
@@ -226,9 +226,6 @@ CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_JEDECPROBE=y
 CONFIG_MTD_M25P80=y
 CONFIG_MTD_MYLOADER_PARTS=y
-CONFIG_MTD_NAND=y
-CONFIG_MTD_NAND_RB4XX=y
-CONFIG_MTD_NAND_RB750=y
 CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-2
 CONFIG_MTD_REDBOOT_PARTS=y
 CONFIG_MTD_WRT160NL_PARTS=y
@@ -306,13 +303,4 @@ CONFIG_TRAD_SIGNALS=y
 # CONFIG_TREE_PREEMPT_RCU is not set
 CONFIG_USB_SUPPORT=y
 CONFIG_VLAN_8021Q=m
-CONFIG_YAFFS_9BYTE_TAGS=y
-CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y
-CONFIG_YAFFS_AUTO_YAFFS2=y
-# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
-# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
-CONFIG_YAFFS_FS=y
-CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
-CONFIG_YAFFS_YAFFS1=y
-CONFIG_YAFFS_YAFFS2=y
 CONFIG_ZONE_DMA_FLAG=0
diff --git a/target/linux/ar71xx/generic/config-default b/target/linux/ar71xx/generic/config-default
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/target/linux/ar71xx/generic/profiles/00-default.mk b/target/linux/ar71xx/generic/profiles/00-default.mk
new file mode 100644 (file)
index 0000000..aa46f22
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Default
+       NAME:=Default Profile (all drivers)
+       PACKAGES:=kmod-ath9k kmod-madwifi kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig vsc7385-ucode-ap83 vsc7385-ucode-pb44 vsc7395-ucode-ap83 vsc7395-ucode-pb44 wpad-mini
+endef
+
+define Profile/Default/Description
+       Default package set compatible with most boards.
+endef
+$(eval $(call Profile,Default))
diff --git a/target/linux/ar71xx/generic/profiles/01-minimal.mk b/target/linux/ar71xx/generic/profiles/01-minimal.mk
new file mode 100644 (file)
index 0000000..3651c88
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/DefaultNoWifi
+       NAME:=Default Profile (no WiFi)
+       PACKAGES:=
+endef
+
+define Profile/DefaultNoWifi/Description
+       Default package set compatible with most boards.
+endef
+$(eval $(call Profile,DefaultNoWifi))
diff --git a/target/linux/ar71xx/generic/profiles/02-madwifi.mk b/target/linux/ar71xx/generic/profiles/02-madwifi.mk
new file mode 100644 (file)
index 0000000..7c22c53
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Madwifi
+       NAME:=Atheros WiFi (madwifi)
+       PACKAGES:=kmod-madwifi wpad-mini
+endef
+
+define Profile/Madwifi/Description
+       Package set compatible with hardware using Atheros WiFi cards.
+endef
+$(eval $(call Profile,Madwifi))
diff --git a/target/linux/ar71xx/generic/profiles/atheros.mk b/target/linux/ar71xx/generic/profiles/atheros.mk
new file mode 100644 (file)
index 0000000..4ce0e60
--- /dev/null
@@ -0,0 +1,63 @@
+#
+# Copyright (C) 2009-2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/AP81
+       NAME:=Atheros AP81 reference board
+       PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2
+endef
+
+define Profile/AP81/Description
+       Package set optimized for the Atheros AP81 reference board.
+endef
+
+$(eval $(call Profile,AP81))
+
+define Profile/AP83
+       NAME:=Atheros AP83 reference board
+       PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2 \
+                 vsc7385-ucode-ap83 vsc7395-ucode-ap83
+endef
+
+define Profile/AP83/Description
+       Package set optimized for the Atheros AP83 reference board.
+endef
+
+$(eval $(call Profile,AP83))
+
+define Profile/PB42
+       NAME:=Atheros PB42 reference board
+       PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb-ohci kmod-usb2
+endef
+
+define Profile/PB42/Description
+       Package set optimized for the Atheros PB42 reference board.
+endef
+
+$(eval $(call Profile,PB42))
+
+define Profile/PB44
+       NAME:=Atheros PB44 reference board
+       PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb-ohci kmod-usb2 \
+                 vsc7385-ucode-pb44 vsc7395-ucode-pb44
+endef
+
+define Profile/PB44/Description
+       Package set optimized for the Atheros PB44 reference board.
+endef
+
+$(eval $(call Profile,PB44))
+
+define Profile/PB92
+       NAME:=Atheros PB92 reference board
+       PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2
+endef
+
+define Profile/PB92/Description
+       Package set optimized for the Atheros PB92 reference board.
+endef
+
+$(eval $(call Profile,PB92))
diff --git a/target/linux/ar71xx/generic/profiles/atlantis.mk b/target/linux/ar71xx/generic/profiles/atlantis.mk
new file mode 100644 (file)
index 0000000..c63fd9c
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/A02RBW300N
+       NAME:=Atlantis-Land A02-RB-W300N
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/A02RBW300N/Description
+       Package set optimized for the Atlantis-Land A02-RB-W300N.
+endef
+
+$(eval $(call Profile,A02RBW300N))
diff --git a/target/linux/ar71xx/generic/profiles/buffalo.mk b/target/linux/ar71xx/generic/profiles/buffalo.mk
new file mode 100644 (file)
index 0000000..69819e5
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/WZRHPG300NH
+       NAME:=Buffalo WZR-HP-G300NH
+       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2
+endef
+
+define Profile/WZRHPG300NH/Description
+       Package set optimized for the Buffalo WZR-HP-G300NH
+endef
+
+$(eval $(call Profile,WZRHPG300NH))
diff --git a/target/linux/ar71xx/generic/profiles/compex.mk b/target/linux/ar71xx/generic/profiles/compex.mk
new file mode 100644 (file)
index 0000000..38d963a
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/WP543
+       NAME:=Compex WP543/WPJ543
+       PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2
+endef
+
+define Profile/WP543/Description
+       Package set optimized for the Compex WP543/WPJ543 boards.
+endef
+
+$(eval $(call Profile,WP543))
diff --git a/target/linux/ar71xx/generic/profiles/d-link.mk b/target/linux/ar71xx/generic/profiles/d-link.mk
new file mode 100644 (file)
index 0000000..bf99e09
--- /dev/null
@@ -0,0 +1,41 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/DIR600A1
+       NAME:=D-Link DIR-600 rev. A1
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/DIR600A1/Description
+       Package set optimized for the D-Link DIR-600 rev. A1.
+endef
+
+$(eval $(call Profile,DIR600A1))
+
+
+define Profile/DIR615C1
+       NAME:=D-Link DIR-615 rev. C1
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/DIR615C1/Description
+       Package set optimized for the D-Link DIR-615 rev. C1.
+endef
+
+$(eval $(call Profile,DIR615C1))
+
+
+define Profile/DIR825B1
+       NAME:=D-Link DIR-825 rev. B1
+       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2
+endef
+
+define Profile/DIR825B1/Description
+       Package set optimized for the D-Link DIR-825 rev. B1.
+endef
+
+$(eval $(call Profile,DIR825B1))
diff --git a/target/linux/ar71xx/generic/profiles/linksys.mk b/target/linux/ar71xx/generic/profiles/linksys.mk
new file mode 100644 (file)
index 0000000..f3253e7
--- /dev/null
@@ -0,0 +1,27 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/WRT160NL
+       NAME:=Linksys WRT160NL
+       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 swconfig
+endef
+
+define Profile/WRT160NL/Description
+       Package set optimized for the Linksys WRT160NL.
+endef
+
+define Profile/WRT400N
+       NAME:=Linksys WRT400N
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/WRT400N/Description
+       Package set optimized for the Linksys WRT400N.
+endef
+
+$(eval $(call Profile,WRT160NL))
+$(eval $(call Profile,WRT400N))
diff --git a/target/linux/ar71xx/generic/profiles/netgear.mk b/target/linux/ar71xx/generic/profiles/netgear.mk
new file mode 100644 (file)
index 0000000..8545cad
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/WNDR3700
+       NAME:=NETGEAR WNDR3700
+       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2
+endef
+
+define Profile/WNDR3700/Description
+       Package set optimized for the NETGEAR WNDR3700
+endef
+
+$(eval $(call Profile,WNDR3700))
diff --git a/target/linux/ar71xx/generic/profiles/planex.mk b/target/linux/ar71xx/generic/profiles/planex.mk
new file mode 100644 (file)
index 0000000..63e539c
--- /dev/null
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/MZKW04NU
+       NAME:=Planex MZK-W04NU
+       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2
+endef
+
+define Profile/MZKW04NU/Description
+       Package set optimized for the Planex MZK-W04NU.
+endef
+
+$(eval $(call Profile,MZKW04NU))
+
+define Profile/MZKW300NH
+       NAME:=Planex MZK-W300NH
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/MZKW300NH/Description
+       Package set optimized for the Planex MZK-W300NH.
+endef
+
+$(eval $(call Profile,MZKW300NH))
diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk
new file mode 100644 (file)
index 0000000..7efb1a3
--- /dev/null
@@ -0,0 +1,94 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/TLWR741NDV1
+       NAME:=TP-LINK TL-WR741ND v1
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/TLWR741NDV1/Description
+       Package set optimized for the TP-LINK TL-WR741ND v1.
+endef
+
+$(eval $(call Profile,TLWR741NDV1))
+
+define Profile/TLWR841NV15
+       NAME:=TP-LINK TL-WR841N v1.5
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/TLWR841NV15/Description
+       Package set optimized for the TP-LINK TL-WR841N v1.5.
+endef
+
+$(eval $(call Profile,TLWR841NV15))
+
+define Profile/TLWR841NDV3
+       NAME:=TP-LINK TL-WR841ND v3
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/TLWR841NDV3/Description
+       Package set optimized for the TP-LINK TL-WR841ND v3.
+endef
+
+$(eval $(call Profile,TLWR841NDV3))
+
+define Profile/TLWR841NDV5
+       NAME:=TP-LINK TL-WR841ND v5
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/TLWR841NDV5/Description
+       Package set optimized for the TP-LINK TL-WR841ND v5.
+endef
+
+$(eval $(call Profile,TLWR841NDV5))
+
+define Profile/TLWR941NDV2
+       NAME:=TP-LINK TL-WR941ND v2
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/TLWR941NDV2/Description
+       Package set optimized for the TP-LINK TL-WR941ND v2.
+endef
+
+$(eval $(call Profile,TLWR941NDV2))
+
+define Profile/TLWR941NDV3
+       NAME:=TP-LINK TL-WR941ND v3
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/TLWR941NDV3/Description
+       Package set optimized for the TP-LINK TL-WR941ND v3.
+endef
+
+$(eval $(call Profile,TLWR941NDV3))
+
+define Profile/TLWR941NDV4
+       NAME:=TP-LINK TL-WR941ND v4
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/TLWR941NDV4/Description
+       Package set optimized for the TP-LINK TL-WR941ND v4.
+endef
+
+$(eval $(call Profile,TLWR941NDV4))
+
+define Profile/TLWR1043NDV1
+       NAME:=TP-LINK TL-WR1043ND v1
+       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2
+endef
+
+define Profile/TLWR1043NDV1/Description
+       Package set optimized for the TP-LINK TL-WR1043ND v1.
+endef
+
+$(eval $(call Profile,TLWR1043NDV1))
diff --git a/target/linux/ar71xx/generic/profiles/trendnet.mk b/target/linux/ar71xx/generic/profiles/trendnet.mk
new file mode 100644 (file)
index 0000000..20a08f3
--- /dev/null
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/TEW632BRP
+       NAME:=TRENDNet TEW-632BRP
+       PACKAGES:=kmod-ath9k wpad-mini
+endef
+
+define Profile/TEW632BRP/Description
+       Package set optimized for the TRENDNet TEW-632BRP.
+endef
+
+$(eval $(call Profile,TEW632BRP))
+
+define Profile/TEW652BRP
+       NAME:=TRENDNet TEW-652BRP
+       PACKAGES:=kmod-ath9k
+endef
+
+define Profile/TEW652BRP/Description
+       Package set optimized for the TRENDNet TEW-652BRP.
+endef
+
+$(eval $(call Profile,TEW652BRP))
diff --git a/target/linux/ar71xx/generic/profiles/ubnt.mk b/target/linux/ar71xx/generic/profiles/ubnt.mk
new file mode 100644 (file)
index 0000000..a7fd9a2
--- /dev/null
@@ -0,0 +1,39 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/UBNTRS
+       NAME:=Ubiquiti RouterStation
+       PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2
+endef
+
+define Profile/UBNTRS/Description
+       Package set optimized for the Ubiquiti RouterStation.
+endef
+
+$(eval $(call Profile,UBNTRS))
+
+define Profile/UBNTRSPRO
+       NAME:=Ubiquiti RouterStation Pro
+       PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2
+endef
+
+define Profile/UBNTRSPRO/Description
+       Package set optimized for the Ubiquiti RouterStation Pro.
+endef
+
+$(eval $(call Profile,UBNTRSPRO))
+
+define Profile/UBNT
+       NAME:=Ubiquiti Products
+       PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2
+endef
+
+define Profile/UBNT/Description
+       Build images for all Ubiquiti products (including LS-SR71, RouterStation and RouterStation Pro)
+endef
+
+$(eval $(call Profile,UBNT))
diff --git a/target/linux/ar71xx/generic/profiles/zyxel.mk b/target/linux/ar71xx/generic/profiles/zyxel.mk
new file mode 100644 (file)
index 0000000..73ae4e2
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/NBG_460N_550N_550NH
+       NAME:=Zyxel NBG 460N/550N/550NH
+       PACKAGES:=kmod-ath9k swconfig
+endef
+
+define Profile/NBG_460N_550N_550NH/Description
+       Package set optimized for the Zyxel NBG 460N/550N/550NH Routers.
+endef
+
+$(eval $(call Profile,NBG_460N_550N_550NH))
diff --git a/target/linux/ar71xx/generic/target.mk b/target/linux/ar71xx/generic/target.mk
new file mode 100644 (file)
index 0000000..9ba527b
--- /dev/null
@@ -0,0 +1,7 @@
+BOARDNAME:=Generic
+
+define Target/Description
+       Build firmware images for generic Atheros AR71xx/AR913x based boards.
+endef
+
+
diff --git a/target/linux/ar71xx/nand/config-default b/target/linux/ar71xx/nand/config-default
new file mode 100644 (file)
index 0000000..3fa8d7b
--- /dev/null
@@ -0,0 +1,13 @@
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_RB4XX=y
+CONFIG_MTD_NAND_RB750=y
+CONFIG_YAFFS_9BYTE_TAGS=y
+CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+CONFIG_YAFFS_FS=y
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+CONFIG_YAFFS_YAFFS1=y
+CONFIG_YAFFS_YAFFS2=y
+
diff --git a/target/linux/ar71xx/nand/profiles/01-minimal.mk b/target/linux/ar71xx/nand/profiles/01-minimal.mk
new file mode 100644 (file)
index 0000000..3651c88
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/DefaultNoWifi
+       NAME:=Default Profile (no WiFi)
+       PACKAGES:=
+endef
+
+define Profile/DefaultNoWifi/Description
+       Default package set compatible with most boards.
+endef
+$(eval $(call Profile,DefaultNoWifi))
diff --git a/target/linux/ar71xx/nand/profiles/02-madwifi.mk b/target/linux/ar71xx/nand/profiles/02-madwifi.mk
new file mode 100644 (file)
index 0000000..7c22c53
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Madwifi
+       NAME:=Atheros WiFi (madwifi)
+       PACKAGES:=kmod-madwifi wpad-mini
+endef
+
+define Profile/Madwifi/Description
+       Package set compatible with hardware using Atheros WiFi cards.
+endef
+$(eval $(call Profile,Madwifi))
diff --git a/target/linux/ar71xx/nand/target.mk b/target/linux/ar71xx/nand/target.mk
new file mode 100644 (file)
index 0000000..f01ef64
--- /dev/null
@@ -0,0 +1,8 @@
+BOARDNAME:=Devices with NAND flash
+
+define Target/Description
+       Build firmware images for Atheros AR71xx/AR913x based boards with 
+       NAND flash, e.g. MikroTik RB-4xx or RB-750
+endef
+
+
diff --git a/target/linux/ar71xx/profiles/00-default.mk b/target/linux/ar71xx/profiles/00-default.mk
deleted file mode 100644 (file)
index aa46f22..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Default
-       NAME:=Default Profile (all drivers)
-       PACKAGES:=kmod-ath9k kmod-madwifi kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig vsc7385-ucode-ap83 vsc7385-ucode-pb44 vsc7395-ucode-ap83 vsc7395-ucode-pb44 wpad-mini
-endef
-
-define Profile/Default/Description
-       Default package set compatible with most boards.
-endef
-$(eval $(call Profile,Default))
diff --git a/target/linux/ar71xx/profiles/01-minimal.mk b/target/linux/ar71xx/profiles/01-minimal.mk
deleted file mode 100644 (file)
index 3651c88..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/DefaultNoWifi
-       NAME:=Default Profile (no WiFi)
-       PACKAGES:=
-endef
-
-define Profile/DefaultNoWifi/Description
-       Default package set compatible with most boards.
-endef
-$(eval $(call Profile,DefaultNoWifi))
diff --git a/target/linux/ar71xx/profiles/02-madwifi.mk b/target/linux/ar71xx/profiles/02-madwifi.mk
deleted file mode 100644 (file)
index 7c22c53..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Madwifi
-       NAME:=Atheros WiFi (madwifi)
-       PACKAGES:=kmod-madwifi wpad-mini
-endef
-
-define Profile/Madwifi/Description
-       Package set compatible with hardware using Atheros WiFi cards.
-endef
-$(eval $(call Profile,Madwifi))
diff --git a/target/linux/ar71xx/profiles/atheros.mk b/target/linux/ar71xx/profiles/atheros.mk
deleted file mode 100644 (file)
index 4ce0e60..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# Copyright (C) 2009-2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/AP81
-       NAME:=Atheros AP81 reference board
-       PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2
-endef
-
-define Profile/AP81/Description
-       Package set optimized for the Atheros AP81 reference board.
-endef
-
-$(eval $(call Profile,AP81))
-
-define Profile/AP83
-       NAME:=Atheros AP83 reference board
-       PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2 \
-                 vsc7385-ucode-ap83 vsc7395-ucode-ap83
-endef
-
-define Profile/AP83/Description
-       Package set optimized for the Atheros AP83 reference board.
-endef
-
-$(eval $(call Profile,AP83))
-
-define Profile/PB42
-       NAME:=Atheros PB42 reference board
-       PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb-ohci kmod-usb2
-endef
-
-define Profile/PB42/Description
-       Package set optimized for the Atheros PB42 reference board.
-endef
-
-$(eval $(call Profile,PB42))
-
-define Profile/PB44
-       NAME:=Atheros PB44 reference board
-       PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb-ohci kmod-usb2 \
-                 vsc7385-ucode-pb44 vsc7395-ucode-pb44
-endef
-
-define Profile/PB44/Description
-       Package set optimized for the Atheros PB44 reference board.
-endef
-
-$(eval $(call Profile,PB44))
-
-define Profile/PB92
-       NAME:=Atheros PB92 reference board
-       PACKAGES:=wpad-mini kmod-ath9k kmod-usb-core kmod-usb2
-endef
-
-define Profile/PB92/Description
-       Package set optimized for the Atheros PB92 reference board.
-endef
-
-$(eval $(call Profile,PB92))
diff --git a/target/linux/ar71xx/profiles/atlantis.mk b/target/linux/ar71xx/profiles/atlantis.mk
deleted file mode 100644 (file)
index c63fd9c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/A02RBW300N
-       NAME:=Atlantis-Land A02-RB-W300N
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/A02RBW300N/Description
-       Package set optimized for the Atlantis-Land A02-RB-W300N.
-endef
-
-$(eval $(call Profile,A02RBW300N))
diff --git a/target/linux/ar71xx/profiles/buffalo.mk b/target/linux/ar71xx/profiles/buffalo.mk
deleted file mode 100644 (file)
index 69819e5..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/WZRHPG300NH
-       NAME:=Buffalo WZR-HP-G300NH
-       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2
-endef
-
-define Profile/WZRHPG300NH/Description
-       Package set optimized for the Buffalo WZR-HP-G300NH
-endef
-
-$(eval $(call Profile,WZRHPG300NH))
diff --git a/target/linux/ar71xx/profiles/compex.mk b/target/linux/ar71xx/profiles/compex.mk
deleted file mode 100644 (file)
index 38d963a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/WP543
-       NAME:=Compex WP543/WPJ543
-       PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2
-endef
-
-define Profile/WP543/Description
-       Package set optimized for the Compex WP543/WPJ543 boards.
-endef
-
-$(eval $(call Profile,WP543))
diff --git a/target/linux/ar71xx/profiles/d-link.mk b/target/linux/ar71xx/profiles/d-link.mk
deleted file mode 100644 (file)
index bf99e09..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/DIR600A1
-       NAME:=D-Link DIR-600 rev. A1
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/DIR600A1/Description
-       Package set optimized for the D-Link DIR-600 rev. A1.
-endef
-
-$(eval $(call Profile,DIR600A1))
-
-
-define Profile/DIR615C1
-       NAME:=D-Link DIR-615 rev. C1
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/DIR615C1/Description
-       Package set optimized for the D-Link DIR-615 rev. C1.
-endef
-
-$(eval $(call Profile,DIR615C1))
-
-
-define Profile/DIR825B1
-       NAME:=D-Link DIR-825 rev. B1
-       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2
-endef
-
-define Profile/DIR825B1/Description
-       Package set optimized for the D-Link DIR-825 rev. B1.
-endef
-
-$(eval $(call Profile,DIR825B1))
diff --git a/target/linux/ar71xx/profiles/linksys.mk b/target/linux/ar71xx/profiles/linksys.mk
deleted file mode 100644 (file)
index f3253e7..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/WRT160NL
-       NAME:=Linksys WRT160NL
-       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 swconfig
-endef
-
-define Profile/WRT160NL/Description
-       Package set optimized for the Linksys WRT160NL.
-endef
-
-define Profile/WRT400N
-       NAME:=Linksys WRT400N
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/WRT400N/Description
-       Package set optimized for the Linksys WRT400N.
-endef
-
-$(eval $(call Profile,WRT160NL))
-$(eval $(call Profile,WRT400N))
diff --git a/target/linux/ar71xx/profiles/netgear.mk b/target/linux/ar71xx/profiles/netgear.mk
deleted file mode 100644 (file)
index 8545cad..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/WNDR3700
-       NAME:=NETGEAR WNDR3700
-       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2
-endef
-
-define Profile/WNDR3700/Description
-       Package set optimized for the NETGEAR WNDR3700
-endef
-
-$(eval $(call Profile,WNDR3700))
diff --git a/target/linux/ar71xx/profiles/planex.mk b/target/linux/ar71xx/profiles/planex.mk
deleted file mode 100644 (file)
index 63e539c..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/MZKW04NU
-       NAME:=Planex MZK-W04NU
-       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2
-endef
-
-define Profile/MZKW04NU/Description
-       Package set optimized for the Planex MZK-W04NU.
-endef
-
-$(eval $(call Profile,MZKW04NU))
-
-define Profile/MZKW300NH
-       NAME:=Planex MZK-W300NH
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/MZKW300NH/Description
-       Package set optimized for the Planex MZK-W300NH.
-endef
-
-$(eval $(call Profile,MZKW300NH))
diff --git a/target/linux/ar71xx/profiles/tp-link.mk b/target/linux/ar71xx/profiles/tp-link.mk
deleted file mode 100644 (file)
index 7efb1a3..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/TLWR741NDV1
-       NAME:=TP-LINK TL-WR741ND v1
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/TLWR741NDV1/Description
-       Package set optimized for the TP-LINK TL-WR741ND v1.
-endef
-
-$(eval $(call Profile,TLWR741NDV1))
-
-define Profile/TLWR841NV15
-       NAME:=TP-LINK TL-WR841N v1.5
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/TLWR841NV15/Description
-       Package set optimized for the TP-LINK TL-WR841N v1.5.
-endef
-
-$(eval $(call Profile,TLWR841NV15))
-
-define Profile/TLWR841NDV3
-       NAME:=TP-LINK TL-WR841ND v3
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/TLWR841NDV3/Description
-       Package set optimized for the TP-LINK TL-WR841ND v3.
-endef
-
-$(eval $(call Profile,TLWR841NDV3))
-
-define Profile/TLWR841NDV5
-       NAME:=TP-LINK TL-WR841ND v5
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/TLWR841NDV5/Description
-       Package set optimized for the TP-LINK TL-WR841ND v5.
-endef
-
-$(eval $(call Profile,TLWR841NDV5))
-
-define Profile/TLWR941NDV2
-       NAME:=TP-LINK TL-WR941ND v2
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/TLWR941NDV2/Description
-       Package set optimized for the TP-LINK TL-WR941ND v2.
-endef
-
-$(eval $(call Profile,TLWR941NDV2))
-
-define Profile/TLWR941NDV3
-       NAME:=TP-LINK TL-WR941ND v3
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/TLWR941NDV3/Description
-       Package set optimized for the TP-LINK TL-WR941ND v3.
-endef
-
-$(eval $(call Profile,TLWR941NDV3))
-
-define Profile/TLWR941NDV4
-       NAME:=TP-LINK TL-WR941ND v4
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/TLWR941NDV4/Description
-       Package set optimized for the TP-LINK TL-WR941ND v4.
-endef
-
-$(eval $(call Profile,TLWR941NDV4))
-
-define Profile/TLWR1043NDV1
-       NAME:=TP-LINK TL-WR1043ND v1
-       PACKAGES:=kmod-ath9k wpad-mini kmod-usb-core kmod-usb2
-endef
-
-define Profile/TLWR1043NDV1/Description
-       Package set optimized for the TP-LINK TL-WR1043ND v1.
-endef
-
-$(eval $(call Profile,TLWR1043NDV1))
diff --git a/target/linux/ar71xx/profiles/trendnet.mk b/target/linux/ar71xx/profiles/trendnet.mk
deleted file mode 100644 (file)
index 20a08f3..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/TEW632BRP
-       NAME:=TRENDNet TEW-632BRP
-       PACKAGES:=kmod-ath9k wpad-mini
-endef
-
-define Profile/TEW632BRP/Description
-       Package set optimized for the TRENDNet TEW-632BRP.
-endef
-
-$(eval $(call Profile,TEW632BRP))
-
-define Profile/TEW652BRP
-       NAME:=TRENDNet TEW-652BRP
-       PACKAGES:=kmod-ath9k
-endef
-
-define Profile/TEW652BRP/Description
-       Package set optimized for the TRENDNet TEW-652BRP.
-endef
-
-$(eval $(call Profile,TEW652BRP))
diff --git a/target/linux/ar71xx/profiles/ubnt.mk b/target/linux/ar71xx/profiles/ubnt.mk
deleted file mode 100644 (file)
index a7fd9a2..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/UBNTRS
-       NAME:=Ubiquiti RouterStation
-       PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2
-endef
-
-define Profile/UBNTRS/Description
-       Package set optimized for the Ubiquiti RouterStation.
-endef
-
-$(eval $(call Profile,UBNTRS))
-
-define Profile/UBNTRSPRO
-       NAME:=Ubiquiti RouterStation Pro
-       PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2
-endef
-
-define Profile/UBNTRSPRO/Description
-       Package set optimized for the Ubiquiti RouterStation Pro.
-endef
-
-$(eval $(call Profile,UBNTRSPRO))
-
-define Profile/UBNT
-       NAME:=Ubiquiti Products
-       PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2
-endef
-
-define Profile/UBNT/Description
-       Build images for all Ubiquiti products (including LS-SR71, RouterStation and RouterStation Pro)
-endef
-
-$(eval $(call Profile,UBNT))
diff --git a/target/linux/ar71xx/profiles/zyxel.mk b/target/linux/ar71xx/profiles/zyxel.mk
deleted file mode 100644 (file)
index 73ae4e2..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/NBG_460N_550N_550NH
-       NAME:=Zyxel NBG 460N/550N/550NH
-       PACKAGES:=kmod-ath9k swconfig
-endef
-
-define Profile/NBG_460N_550N_550NH/Description
-       Package set optimized for the Zyxel NBG 460N/550N/550NH Routers.
-endef
-
-$(eval $(call Profile,NBG_460N_550N_550NH))