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
This commit is contained in:
Gabor Juhos
2011-12-01 22:48:41 +00:00
parent 7c678e7511
commit 2dd79d55c7
3 changed files with 54 additions and 11 deletions

View File

@@ -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