aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-27 19:38:07 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-27 19:38:07 +0000
commitbc6cbb564450b22c7f5d98f1ee36140c7fae76a3 (patch)
tree469ca8fa428b87d0a826a281b9f3cad130607f07 /target/linux/ar71xx/image
parent35c72f864eb82ea3a1d66723c277b558c4ac2cf3 (diff)
downloadupstream-bc6cbb564450b22c7f5d98f1ee36140c7fae76a3.tar.gz
upstream-bc6cbb564450b22c7f5d98f1ee36140c7fae76a3.tar.bz2
upstream-bc6cbb564450b22c7f5d98f1ee36140c7fae76a3.zip
ar71xx: remove the built-in MTD map of the AP96 board
Pass the mtd_layout via the kernel command line instead. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31112 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/image')
-rw-r--r--target/linux/ar71xx/image/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 2203bec2e5..0790e25e1a 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -658,6 +658,7 @@ define Image/Build/Profile/AP83
endef
ap96_cmdline=board=AP96 console=ttyS0,115200
+ap96_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,6144k(rootfs),1728k(kernel),64k(art)ro,7872k@0x40000(firmware)
define Image/Build/Profile/AP96
$(call Image/Build/Template/$(fs_64k)/$(1),AthGzip,ap96,$(ap96_cmdline),ap96_mtdlayout,1769472,6291456,RKuImage)
endef