aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-12 18:04:46 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-12 18:04:46 +0000
commitca116aa7d99e5af4c5fa51e99de7ad03d549bf37 (patch)
treee88bc5717fb7faeec4cb42d752dfe05513285dd2
parentea12a991e1e4ad221e53dfb3f498c520adc61755 (diff)
downloadupstream-ca116aa7d99e5af4c5fa51e99de7ad03d549bf37.tar.gz
upstream-ca116aa7d99e5af4c5fa51e99de7ad03d549bf37.tar.bz2
upstream-ca116aa7d99e5af4c5fa51e99de7ad03d549bf37.zip
ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30482 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ramips/image/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 76f14ca41b..0a1436ddfd 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