ipq807x: add Spectrum SAX1V1K
[openwrt/staging/blocktrron.git] / package / boot / uboot-envtools / files / qualcommax_ipq807x
index 106ba47c08e4991edef32356bd8c4f626b2478ba..312fdf8d871eae7fe7658c0a99342435b11dac42 100644 (file)
@@ -11,7 +11,8 @@ case "$board" in
 dynalink,dl-wrx36|\
 netgear,rax120v2|\
 netgear,wax218|\
-netgear,wax620)
+netgear,wax620|\
+netgear,wax630)
        idx="$(find_mtd_index 0:appsblenv)"
        [ -n "$idx" ] && \
                ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000" "2"
@@ -28,6 +29,13 @@ edimax,cax1800)
        [ -n "$idx" ] && \
                ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x20000"
        ;;
+linksys,mx4200v1|\
+linksys,mx4200v2|\
+linksys,mx5300)
+       idx="$(find_mtd_index u_env)"
+       [ -n "$idx" ] && \
+               ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000" "2"
+       ;;
 redmi,ax6|\
 xiaomi,ax3600|\
 xiaomi,ax9000)
@@ -48,6 +56,11 @@ qnap,301w)
        [ -n "$idx" ] && \
                ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x20000" "0x20000" "1"
        ;;
+spectrum,sax1v1k)
+       mmcpart="$(find_mmc_part 0:APPSBLENV)"
+       [ -n "$mmcpart" ] && \
+               ubootenv_add_uci_config "$mmcpart" "0x0" "0x40000" "0x40000" "1"
+       ;;
 esac
 
 config_load ubootenv