2
0
forked from Ivasoft/openwrt

ath79: add support of D-Link DIR-825 B1

Add support for the ar71xx supported D-Link DIR-825 B1 to ath79.

Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
This commit is contained in:
Dmitry Tunin
2018-08-09 20:49:29 +03:00
committed by Mathias Kresin
parent a441c86d93
commit 97de133368
4 changed files with 288 additions and 0 deletions

View File

@@ -129,4 +129,26 @@ case "$FIRMWARE" in
;;
esac
;;
"ath9k-eeprom-pci-0000:00:11.0.bin")
case $board in
dlink,dir-825-b1)
ath9k_eeprom_extract "caldata" 4096 3768
ath9k_patch_fw_mac_crc $(mtd_get_mac_text "caldata" 65440) 524
;;
*)
ath9k_eeprom_die "board $board is not supported yet"
;;
esac
;;
"ath9k-eeprom-pci-0000:00:12.0.bin")
case $board in
dlink,dir-825-b1)
ath9k_eeprom_extract "caldata" 20480 3768
ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_text "caldata" 65460) 1) 524
;;
*)
ath9k_eeprom_die "board $board is not supported yet"
;;
esac
;;
esac