Browse Source

uboot-envtools: add support for ALFA Network AWUSFREE1

Signed-off-by: Piotr Dymacz <[email protected]>
Piotr Dymacz 7 years ago
parent
commit
f01b394266
1 changed files with 7 additions and 6 deletions
  1. 7 6
      package/boot/uboot-envtools/files/ramips

+ 7 - 6
package/boot/uboot-envtools/files/ramips

@@ -13,12 +13,7 @@ touch /etc/config/ubootenv
 board=$(board_name)
 board=$(board_name)
 
 
 case "$board" in
 case "$board" in
-all0239-3g|\
-all0256n-4M|\
-all0256n-8M|\
-all5002)
-	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000"
-	;;
+alfa-network,awusfree1|\
 linkits7688|\
 linkits7688|\
 miwifi-nano|\
 miwifi-nano|\
 sk-wb8|\
 sk-wb8|\
@@ -27,6 +22,12 @@ wsr-600|\
 zbt-wg2626)
 zbt-wg2626)
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x10000"
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x10000"
 	;;
 	;;
+all0239-3g|\
+all0256n-4M|\
+all0256n-8M|\
+all5002)
+	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000"
+	;;
 mir3g)
 mir3g)
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x20000"
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x20000"
 	;;
 	;;