summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/nand
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-07 16:20:32 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-07 16:20:32 +0000
commit9c1a6467773d49df85b4e0797947ad7830b9d68a (patch)
treeaa3c35129007185c523ba8da15ce39f0c6085712 /target/linux/ar71xx/nand
parent50413a4e86234d14215bb52be0ccce63c34d5e6f (diff)
ar71xx: add a new subtarget for nand based devices - saves around 44k on the lzma compressed generic kernel image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21396 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/nand')
-rw-r--r--target/linux/ar71xx/nand/config-default13
-rw-r--r--target/linux/ar71xx/nand/profiles/01-minimal.mk16
-rw-r--r--target/linux/ar71xx/nand/profiles/02-madwifi.mk16
-rw-r--r--target/linux/ar71xx/nand/target.mk8
4 files changed, 53 insertions, 0 deletions
diff --git a/target/linux/ar71xx/nand/config-default b/target/linux/ar71xx/nand/config-default
new file mode 100644
index 000000000..3fa8d7b16
--- /dev/null
+++ b/target/linux/ar71xx/nand/config-default
@@ -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
index 000000000..3651c88ab
--- /dev/null
+++ b/target/linux/ar71xx/nand/profiles/01-minimal.mk
@@ -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
index 000000000..7c22c53db
--- /dev/null
+++ b/target/linux/ar71xx/nand/profiles/02-madwifi.mk
@@ -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
index 000000000..f01ef645f
--- /dev/null
+++ b/target/linux/ar71xx/nand/target.mk
@@ -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
+
+