aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2018-02-26 22:24:26 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2018-04-06 23:11:00 +0200
commit3fc8f50f56d822e40e946d1a0627def00760c471 (patch)
tree69dd7e0d7906cc60b1e28580acd026d882567256 /package
parent68dcec7e16c1e6dbeb89b41e0a9e5baa0cb7e0de (diff)
downloadupstream-3fc8f50f56d822e40e946d1a0627def00760c471.tar.gz
upstream-3fc8f50f56d822e40e946d1a0627def00760c471.tar.bz2
upstream-3fc8f50f56d822e40e946d1a0627def00760c471.zip
uboot-envtools: fix ALFA Network AWUSFREE1 support
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/boot/uboot-envtools/files/ramips16
1 files changed, 9 insertions, 7 deletions
diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips
index dfbe05e119..88f561b0f4 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"
;;