ar71xx: specify mtd layout in command line for the DB120 board
authorGabor Juhos <juhosg@openwrt.org>
Thu, 24 Nov 2011 20:09:32 +0000 (20:09 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 24 Nov 2011 20:09:32 +0000 (20:09 +0000)
SVN-Revision: 29324

target/linux/ar71xx/image/Makefile

index dbb8c174dcc8e52ea19e1473fdefff5994171be5..a50d9072d30aa0dbe80c8b17ce79c01dc7ed8a8d 100644 (file)
@@ -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