2
0
forked from Ivasoft/openwrt

lantiq: remove lantiq_board_name, use the generic function instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2017-03-17 16:21:30 +01:00
parent aa95d6cd20
commit 7e798dab56
7 changed files with 6 additions and 20 deletions

View File

@@ -5,7 +5,6 @@
. /lib/functions.sh
. /lib/functions/system.sh
. /lib/functions/lantiq.sh
. /lib/upgrade/nand.sh
ath10k_caldata_die() {
@@ -37,7 +36,7 @@ ath10k_caldata_set_macaddr() {
case "$FIRMWARE" in
"ath10k/cal-pci-0000:02:00.0.bin")
board=$(lantiq_board_name)
board=$(board_name)
case $board in
BTHOMEHUBV5A)
ath10k_caldata_extract_ubi "caldata" 20480 2116

View File

@@ -5,7 +5,6 @@
. /lib/functions.sh
. /lib/functions/system.sh
. /lib/functions/lantiq.sh
. /lib/upgrade/nand.sh
# xor multiple hex values of the same length
@@ -114,7 +113,7 @@ case "$FIRMWARE" in
"ath9k-eeprom-pci-0000:00:0e.0.bin" | \
"ath9k-eeprom-pci-0000:01:00.0.bin" | \
"ath9k-eeprom-pci-0000:02:00.0.bin")
board=$(lantiq_board_name)
board=$(board_name)
case "$board" in
ARV7518PW)