summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-29 07:36:33 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-29 07:36:33 +0000
commit8e06682fb7e6311d7a1af6e32e787cd645290e20 (patch)
treee37f3eb05b93ffaae4928d441404e649d84aef54
parent164dd71afe46c929302c2ea58aa75ac58d2e62c4 (diff)
downloadmtk-20170518-8e06682fb7e6311d7a1af6e32e787cd645290e20.zip
mtk-20170518-8e06682fb7e6311d7a1af6e32e787cd645290e20.tar.gz
mtk-20170518-8e06682fb7e6311d7a1af6e32e787cd645290e20.tar.bz2
ramips: rt305x: extract wifi eeprom and use the 8M template for the UR-336UN
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru> SVN-Revision: 31507
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rw-r--r--target/linux/ramips/image/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 7937d76..02bdfa3 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -75,6 +75,7 @@ case "$FIRMWARE" in
wli-tx4-ag300n | \
wr512-3gn | \
wr6202 | \
+ ur-336un | \
xdxrn502j)
rt2x00_eeprom_extract "factory" 0 272
;;
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 92a8054..3d4d649 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -414,7 +414,7 @@ endef
define Image/Build/Profile/UPVEL
- $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,ur-336un,UR-336UN,ttyS1,57600,phys)
+ $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,ur-336un,UR-336UN,ttyS1,57600,phys)
endef
define Image/Build/Profile/WR6202