Răsfoiți Sursa

uboot-envtools: fix ALFA Network AWUSFREE1 support

Signed-off-by: Piotr Dymacz <[email protected]>
Piotr Dymacz 8 ani în urmă
părinte
comite
3fc8f50f56
1 a modificat fișierele cu 9 adăugiri și 7 ștergeri
  1. 9 7
      package/boot/uboot-envtools/files/ramips

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

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