uboot-envtools: fix ALFA Network AWUSFREE1 support
authorPiotr Dymacz <pepe2k@gmail.com>
Mon, 26 Feb 2018 21:24:26 +0000 (22:24 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Fri, 6 Apr 2018 21:11:00 +0000 (23:11 +0200)
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
package/boot/uboot-envtools/files/ramips

index dfbe05e1192c762a9fba942b0e4cd95a5be7d51e..88f561b0f4ab7a7906831acf3b29b58f4a5b73e1 100644 (file)
@@ -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"
        ;;