aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-12 18:04:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-12 18:04:47 +0000
commit38dde1e79bbdcf816e6f22462101cb6ae0e413ad (patch)
tree3e4a666cf02b6aa978b43b8d51a24e59ea5c0aee
parentca116aa7d99e5af4c5fa51e99de7ad03d549bf37 (diff)
downloadupstream-38dde1e79bbdcf816e6f22462101cb6ae0e413ad.tar.gz
upstream-38dde1e79bbdcf816e6f22462101cb6ae0e413ad.tar.bz2
upstream-38dde1e79bbdcf816e6f22462101cb6ae0e413ad.zip
ramips: use GENERIC_{4,8}M image template for WR5123GN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30483 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ramips/image/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 0a1436ddfd..347bafdb76 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -308,12 +308,9 @@ define Image/Build/Template/F5D8235V1
$(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_f5d8235,$(mtd_f5d8235_kernel_part_size),$(mtd_f5d8235_rootfs_part_size))
endef
-
-mtdlayout_wr5123gn=mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,832k(kernel),2944k(rootfs),3776k@0x50000(firmware)
-mtdlayout_wr5123gn8m=mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,832k(kernel),7040k(rootfs),7872k@0x50000(firmware)
define Image/Build/Profile/WR5123GN
- $(call BuildFirmware/Generic,$(1),wr512-3gn-4M,board="WR512-3GN",mtdlayout_wr5123gn,851968,3014656)
- $(call BuildFirmware/Generic,$(1),wr512-3gn-8M,board="WR512-3GN",mtdlayout_wr5123gn8m,851968,7208960)
+ $(call Image/Build/Template/GENERIC_4M,$(1),wr512-3gn-4M,WR512-3GN)
+ $(call Image/Build/Template/GENERIC_8M,$(1),wr512-3gn-8M,WR512-3GN)
endef
ifeq ($(CONFIG_RALINK_RT305X),y)