ipq807x: add support for Linksys MX4200 V1 and V2
[openwrt/staging/wigyori.git] / package / boot / uboot-envtools / files / qualcommax_ipq807x
index 761d5dfcc9fe51a9e9b5b34c56eebc8174a589c8..bcedfd9adc91ce88ef1e787dd051db7e5e177bfe 100644 (file)
@@ -29,6 +29,12 @@ edimax,cax1800)
        [ -n "$idx" ] && \
                ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x20000"
        ;;
+linksys,mx4200v1|\
+linksys,mx4200v2)
+       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)