ipq807x: add Spectrum SAX1V1K
[openwrt/staging/blocktrron.git] / package / boot / uboot-envtools / files / qualcommax_ipq807x
index 761d5dfcc9fe51a9e9b5b34c56eebc8174a589c8..312fdf8d871eae7fe7658c0a99342435b11dac42 100644 (file)
@@ -29,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)
@@ -49,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