mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
qualcommax: cleanup whitespace and sort-order
Replace blanks with tabs, also sort base-files alphabetically. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Reviewed-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
9920eebedc
commit
ab6a029573
@ -242,18 +242,6 @@ endif
|
|||||||
endef
|
endef
|
||||||
TARGET_DEVICES += xiaomi_ax9000
|
TARGET_DEVICES += xiaomi_ax9000
|
||||||
|
|
||||||
define Device/zyxel_nbg7815
|
|
||||||
$(call Device/FitImage)
|
|
||||||
$(call Device/EmmcImage)
|
|
||||||
DEVICE_VENDOR := ZYXEL
|
|
||||||
DEVICE_MODEL := NBG7815
|
|
||||||
DEVICE_DTS_CONFIG := config@nbg7815
|
|
||||||
SOC := ipq8074
|
|
||||||
DEVICE_PACKAGES += ipq-wifi-zyxel_nbg7815 kmod-ath11k-pci kmod-hwmon-tmp103 \
|
|
||||||
kmod-bluetooth
|
|
||||||
endef
|
|
||||||
TARGET_DEVICES += zyxel_nbg7815
|
|
||||||
|
|
||||||
define Device/yuncore_ax880
|
define Device/yuncore_ax880
|
||||||
$(call Device/FitImage)
|
$(call Device/FitImage)
|
||||||
$(call Device/UbiFit)
|
$(call Device/UbiFit)
|
||||||
@ -269,3 +257,14 @@ define Device/yuncore_ax880
|
|||||||
endef
|
endef
|
||||||
TARGET_DEVICES += yuncore_ax880
|
TARGET_DEVICES += yuncore_ax880
|
||||||
|
|
||||||
|
define Device/zyxel_nbg7815
|
||||||
|
$(call Device/FitImage)
|
||||||
|
$(call Device/EmmcImage)
|
||||||
|
DEVICE_VENDOR := ZYXEL
|
||||||
|
DEVICE_MODEL := NBG7815
|
||||||
|
DEVICE_DTS_CONFIG := config@nbg7815
|
||||||
|
SOC := ipq8074
|
||||||
|
DEVICE_PACKAGES += ipq-wifi-zyxel_nbg7815 kmod-ath11k-pci \
|
||||||
|
kmod-bluetooth kmod-hwmon-tmp103
|
||||||
|
endef
|
||||||
|
TARGET_DEVICES += zyxel_nbg7815
|
||||||
|
@ -16,6 +16,11 @@ ipq807x_setup_interfaces()
|
|||||||
xiaomi,ax9000)
|
xiaomi,ax9000)
|
||||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
|
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
|
||||||
;;
|
;;
|
||||||
|
compex,wpq873|\
|
||||||
|
redmi,ax6|\
|
||||||
|
xiaomi,ax3600)
|
||||||
|
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
|
||||||
|
;;
|
||||||
edgecore,eap102|\
|
edgecore,eap102|\
|
||||||
yuncore,ax880)
|
yuncore,ax880)
|
||||||
ucidef_set_interfaces_lan_wan "lan" "wan"
|
ucidef_set_interfaces_lan_wan "lan" "wan"
|
||||||
@ -39,11 +44,6 @@ ipq807x_setup_interfaces()
|
|||||||
qnap,301w)
|
qnap,301w)
|
||||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 10g-2" "10g-1"
|
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 10g-2" "10g-1"
|
||||||
;;
|
;;
|
||||||
compex,wpq873|\
|
|
||||||
redmi,ax6|\
|
|
||||||
xiaomi,ax3600)
|
|
||||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
|
|
||||||
;;
|
|
||||||
zyxel,nbg7815)
|
zyxel,nbg7815)
|
||||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 10g" "wan"
|
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 10g" "wan"
|
||||||
;;
|
;;
|
||||||
|
@ -11,9 +11,9 @@ case "$FIRMWARE" in
|
|||||||
case "$board" in
|
case "$board" in
|
||||||
buffalo,wxr-5950ax12|\
|
buffalo,wxr-5950ax12|\
|
||||||
compex,wpq873|\
|
compex,wpq873|\
|
||||||
|
dynalink,dl-wrx36|\
|
||||||
edgecore,eap102|\
|
edgecore,eap102|\
|
||||||
edimax,cax1800|\
|
edimax,cax1800|\
|
||||||
dynalink,dl-wrx36|\
|
|
||||||
netgear,rax120v2|\
|
netgear,rax120v2|\
|
||||||
netgear,wax218|\
|
netgear,wax218|\
|
||||||
netgear,wax620|\
|
netgear,wax620|\
|
||||||
|
@ -51,7 +51,13 @@ platform_do_upgrade() {
|
|||||||
nand_do_restore_config || nand_do_upgrade_failed
|
nand_do_restore_config || nand_do_upgrade_failed
|
||||||
buffalo_upgrade_optvol
|
buffalo_upgrade_optvol
|
||||||
;;
|
;;
|
||||||
dynalink,dl-wrx36)
|
compex,wpq873|\
|
||||||
|
dynalink,dl-wrx36|\
|
||||||
|
edimax,cax1800|\
|
||||||
|
netgear,rax120v2|\
|
||||||
|
netgear,wax218|\
|
||||||
|
netgear,wax620|\
|
||||||
|
netgear,wax630)
|
||||||
nand_do_upgrade "$1"
|
nand_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
edgecore,eap102)
|
edgecore,eap102)
|
||||||
@ -66,34 +72,12 @@ platform_do_upgrade() {
|
|||||||
fw_setenv upgrade_available 1
|
fw_setenv upgrade_available 1
|
||||||
nand_do_upgrade "$1"
|
nand_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
compex,wpq873|\
|
|
||||||
edimax,cax1800|\
|
|
||||||
netgear,rax120v2|\
|
|
||||||
netgear,wax218|\
|
|
||||||
netgear,wax620|\
|
|
||||||
netgear,wax630)
|
|
||||||
nand_do_upgrade "$1"
|
|
||||||
;;
|
|
||||||
prpl,haze|\
|
prpl,haze|\
|
||||||
qnap,301w)
|
qnap,301w)
|
||||||
kernelname="0:HLOS"
|
kernelname="0:HLOS"
|
||||||
rootfsname="rootfs"
|
rootfsname="rootfs"
|
||||||
mmc_do_upgrade "$1"
|
mmc_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
zyxel,nbg7815)
|
|
||||||
local config_mtdnum="$(find_mtd_index 0:bootconfig)"
|
|
||||||
[ -z "$config_mtdnum" ] && reboot
|
|
||||||
part_num="$(hexdump -e '1/1 "%01x|"' -n 1 -s 168 -C /dev/mtd$config_mtdnum | cut -f 1 -d "|" | head -n1)"
|
|
||||||
if [ "$part_num" -eq "0" ]; then
|
|
||||||
kernelname="0:HLOS"
|
|
||||||
rootfsname="rootfs"
|
|
||||||
mmc_do_upgrade "$1"
|
|
||||||
else
|
|
||||||
kernelname="0:HLOS_1"
|
|
||||||
rootfsname="rootfs_1"
|
|
||||||
mmc_do_upgrade "$1"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
redmi,ax6|\
|
redmi,ax6|\
|
||||||
xiaomi,ax3600|\
|
xiaomi,ax3600|\
|
||||||
xiaomi,ax9000)
|
xiaomi,ax9000)
|
||||||
@ -125,6 +109,20 @@ platform_do_upgrade() {
|
|||||||
fw_setenv upgrade_available 1
|
fw_setenv upgrade_available 1
|
||||||
nand_do_upgrade "$1"
|
nand_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
|
zyxel,nbg7815)
|
||||||
|
local config_mtdnum="$(find_mtd_index 0:bootconfig)"
|
||||||
|
[ -z "$config_mtdnum" ] && reboot
|
||||||
|
part_num="$(hexdump -e '1/1 "%01x|"' -n 1 -s 168 -C /dev/mtd$config_mtdnum | cut -f 1 -d "|" | head -n1)"
|
||||||
|
if [ "$part_num" -eq "0" ]; then
|
||||||
|
kernelname="0:HLOS"
|
||||||
|
rootfsname="rootfs"
|
||||||
|
mmc_do_upgrade "$1"
|
||||||
|
else
|
||||||
|
kernelname="0:HLOS_1"
|
||||||
|
rootfsname="rootfs_1"
|
||||||
|
mmc_do_upgrade "$1"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
default_do_upgrade "$1"
|
default_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user