summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
2 files changed, 5 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 a54edbabe..0f50c9bc1 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
@@ -54,7 +54,8 @@ case "$FIRMWARE" in
rt-n15 | \
v22rw-2x2 | \
wcr150gn | \
- whr-g300n)
+ whr-g300n | \
+ wr512-3gn)
rt2x00_eeprom_extract "factory" 0 272
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 616e96697..1ab8f7913 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -58,6 +58,9 @@ ramips_board_name() {
*"WZR-AGL300NH")
name="wzr-agl300nh"
;;
+ *"SH-WR512NU/WS-WR512N1-like 3GN router")
+ name="wr512-3gn"
+ ;;
*)
name="generic"
;;