diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-12 18:04:46 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-12 18:04:46 +0000 |
commit | b7f129e19be1950ad019b029aec377ec063663fc (patch) | |
tree | 1822d42d8b4f6188de96f22020b897403fccad95 /target/linux/ramips | |
parent | fa21aef5ab01883fa1c2628a9749445ccea6ae21 (diff) | |
download | mtk-20170518-b7f129e19be1950ad019b029aec377ec063663fc.zip mtk-20170518-b7f129e19be1950ad019b029aec377ec063663fc.tar.gz mtk-20170518-b7f129e19be1950ad019b029aec377ec063663fc.tar.bz2 |
ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
SVN-Revision: 30482
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/image/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 76f14ca..0a1436d 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -223,8 +223,9 @@ define Image/Build/Profile/BC2 $(call Image/Build/Template/GENERIC_8M,$(1),bc2,BC2) endef +mtdlayout_all0256n=mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,832k(kernel),2944k(rootfs),3776k@0x50000(firmware) define Image/Build/Profile/ALL0256N - $(call Image/Build/Template/GENERIC_4M,$(1),all0256n,ALL0256N) + $(call BuildFirmware/Generic,$(1),all0256n,board=ALL0256N,mtdlayout_all0256n,851968,3014656) endef define Image/Build/Profile/NBG419N |