summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/hotplug.d
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-11-02 10:17:51 +0000
committerJohn Crispin <john@openwrt.org>2015-11-02 10:17:51 +0000
commit3760b95702b65de9d6d0f6a1029a654e3b11f72f (patch)
tree1d49305c616b895704867656e7327df82289d96b /target/linux/ramips/base-files/etc/hotplug.d
parent83693c911a3c4788d44815c6c61cd6f7be6542d5 (diff)
downloadmaster-31e0f0ae-3760b95702b65de9d6d0f6a1029a654e3b11f72f.tar.gz
master-31e0f0ae-3760b95702b65de9d6d0f6a1029a654e3b11f72f.tar.bz2
master-31e0f0ae-3760b95702b65de9d6d0f6a1029a654e3b11f72f.zip
ramips: add support for Dovado tiny AC
Add support for Dovado tiny AC wifi router. Soc: mt7620a ram: 64MB flash: 8MB 1x usb 2.0 two gigabit lan ports 5ghz wlan is not supported on this board since there is no gpl driverfor mt7610e wifi chip. Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com> SVN-Revision: 47348
Diffstat (limited to 'target/linux/ramips/base-files/etc/hotplug.d')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom5
1 files changed, 5 insertions, 0 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 1ba6728b2b..0e02177f70 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
@@ -57,6 +57,11 @@ case "$FIRMWARE" in
br-6475nd | rt-n56u | whr-600d | whr-1166d)
rt2x00_eeprom_extract "factory" 32768 512
;;
+ tiny-ac)
+ local wifi_mac=$(mtd_get_mac_ascii u-boot-env INIC_MAC_ADDR)
+ rt2x00_eeprom_extract "factory" 0 512
+ rt2x00_eeprom_set_macaddr $wifi_mac
+ ;;
esac
;;
esac