summaryrefslogtreecommitdiff
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-01 22:48:41 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-01 22:48:41 +0000
commit2dd79d55c77e400a8dacf79a10d4700f31f95db5 (patch)
treece4db3ca678ad651a59c12ebaa1e873a509ca1c4 /target/linux/ramips/image
parent7c678e7511196fcb0a59213d59f390275eca503b (diff)
downloadmtk-20170518-2dd79d55c77e400a8dacf79a10d4700f31f95db5.zip
mtk-20170518-2dd79d55c77e400a8dacf79a10d4700f31f95db5.tar.gz
mtk-20170518-2dd79d55c77e400a8dacf79a10d4700f31f95db5.tar.bz2
ramips: Sparklan wcr-150gn board fixes
* Fix partition sizes. * Add buttons and leds. * Register usb. * Remove unnecessary stuff from image Makefile * Fix rt2x00 eeprom extract. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 29380
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 7d32155..7f0ef00 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -202,15 +202,8 @@ define Image/Build/Profile/MOFI35003GN
$(call Image/Build/Template/GENERIC_8M,$(1),mofi3500-3gn,MOFI3500-3GN)
endef
-mtdlayout_wcr150gn=mtdparts=physmap-flash.0:192k(bootloader)ro,64k(config),64k(factory),832k(kernel),2944k(rootfs),3776k@0x50000(firmware)
-mtd_wcr150gn_kernel_part_size=851968
-mtd_wcr150gn_rootfs_part_size=3014656
-define Image/Build/Template/WCR150GN
- $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_wcr150gn,$(mtd_wcr150gn_kernel_part_size),$(mtd_wcr150gn_rootfs_part_size))
-endef
-
define Image/Build/Profile/WCR150GN
- $(call Image/Build/Template/WCR150GN,$(1),wcr150gn,WCR150GN)
+ $(call Image/Build/Template/GENERIC_4M,$(1),wcr150gn,WCR150GN)
endef