aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc/hotplug.d
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-04-08 11:16:21 +0200
committerMathias Kresin <dev@kresin.me>2017-12-16 23:33:56 +0100
commit63d7f7fc925ebfa3aba7e65837676d2ba85c1c69 (patch)
tree233ee515f7bdbcb0492945a744550f8bf97731ed /target/linux/lantiq/base-files/etc/hotplug.d
parentaba421432f261ee4c9dd1fb4c82d08115596fb83 (diff)
downloadupstream-63d7f7fc925ebfa3aba7e65837676d2ba85c1c69.tar.gz
upstream-63d7f7fc925ebfa3aba7e65837676d2ba85c1c69.tar.bz2
upstream-63d7f7fc925ebfa3aba7e65837676d2ba85c1c69.zip
lantiq: use the compatible string as board name
Use the first compatible string as board name in userspace. Add the new board name as well as the former used board name to the image metadata to keep compatibilty with already deployed installations. Don't add the former used boardname for boards which exists only in master or evaluation boards. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/base-files/etc/hotplug.d')
-rw-r--r--target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata2
-rw-r--r--target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom16
2 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 1c2b8456fc..6b4d09dd33 100644
--- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -38,7 +38,7 @@ case "$FIRMWARE" in
"ath10k/cal-pci-0000:02:00.0.bin")
board=$(board_name)
case $board in
- BTHOMEHUBV5A)
+ bt,homehub-v5a)
ath10k_caldata_extract_ubi "caldata" 20480 2116
ath10k_caldata_set_macaddr $(macaddr_add $(mtd_get_mac_binary_ubi caldata 4364) +3)
;;
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
index 7144423d43..498a509012 100644
--- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
+++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
@@ -116,32 +116,32 @@ case "$FIRMWARE" in
board=$(board_name)
case "$board" in
- ARV7518PW)
+ arcadyan,arv7518pw)
ath9k_eeprom_extract "boardconfig" 1024 1
;;
- ARV8539PW22)
+ arcadyan,arv8539pw22)
ath9k_eeprom_extract "art" 1024 1
;;
- BTHOMEHUBV2B)
+ bt,homehub-v2b)
ath9k_eeprom_extract "art" 0 1
ath9k_patch_fw_mac_crc "00:00:00:00:00:00" 524
;;
- BTHOMEHUBV3A)
+ bt,homehub-v3a)
ath9k_eeprom_extract "art-copy" 0 1
ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_ascii uboot_env ethaddr) +2) 268
;;
- BTHOMEHUBV5A)
+ bt,homehub-v5a)
ath9k_ubi_eeprom_extract "caldata" 4096 0
ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_binary_ubi caldata 4364) +2) 268
;;
- DGN3500*)
+ netgear,dgn3500|netgear,dgn3500b)
ath9k_eeprom_extract "calibration" 61440 0
ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_ascii uboot-env ethaddr) +2) 524
;;
- FRITZ3370|FRITZ7320|FRITZ7360SL)
+ avm,fritz3370|avm,fritz7320|avm,fritz7360sl)
ath9k_eeprom_extract "urlader" 2437 0
;;
- TDW8970|TDW8980)
+ tplink,tdw8970|tplink,tdw8980)
ath9k_eeprom_extract "boardconfig" 135168 0
;;
*)