aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-24 20:09:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-24 20:09:32 +0000
commitd97cf767907fafb90daa597b49c8ef7ff7c270ff (patch)
tree5fe1c3f16d451713abbceee2357fb3fd6ee478e1 /target/linux
parentbe4f27f38b4238088cfd9cecbdae1e462ef3005a (diff)
downloadupstream-d97cf767907fafb90daa597b49c8ef7ff7c270ff.tar.gz
upstream-d97cf767907fafb90daa597b49c8ef7ff7c270ff.tar.bz2
upstream-d97cf767907fafb90daa597b49c8ef7ff7c270ff.zip
ar71xx: specify mtd layout in command line for the DB120 board
SVN-Revision: 29324
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/image/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index dbb8c174dc..a50d9072d3 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -461,8 +461,9 @@ define Image/Build/Profile/AP96
endef
db120_cmdline=board=DB120 console=ttyS0,115200
+db120_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6336k(rootfs),1408k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware)
define Image/Build/Profile/DB120
- $(call Image/Build/Template/$(fs_64k)/$(1),AthLzma,db120,$(db120_cmdline),,1441792,6488064,RK)
+ $(call Image/Build/Template/$(fs_64k)/$(1),AthLzma,db120,$(db120_cmdline),db120_mtdlayout,1441792,6488064,RK)
endef
pb42_cmdline=board=PB42 console=ttyS0,115200