[openwrt/openwrt] uboot-envtools: fix ALFA Network AWUSFREE1 support

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 6 15:19:28 PDT 2018


pepe2k pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/3fc8f50f56d822e40e946d1a0627def00760c471

commit 3fc8f50f56d822e40e946d1a0627def00760c471
Author: Piotr Dymacz <pepe2k at gmail.com>
AuthorDate: Mon Feb 26 22:24:26 2018 +0100

    uboot-envtools: fix ALFA Network AWUSFREE1 support
    
    Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
 package/boot/uboot-envtools/files/ramips | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips
index dfbe05e..88f561b 100644
--- a/package/boot/uboot-envtools/files/ramips
+++ b/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"
 	;;



More information about the lede-commits mailing list