ramips: add basic support for TP-Link EC330-G5u v1
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / ramips
index 372b8a49e2a0a1eead378b6ca0b404555c812440..21e95ac9680359d1d436b6ba1570708e90873407 100644 (file)
@@ -85,6 +85,11 @@ snr,cpe-w4n-mt)
        [ -n "$idx" ] && \
                ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x1000" "0x1000"
        ;;
+tplink,ec330-g5u-v1)
+       idx="$(find_mtd_index u-boot-env)"
+       [ -n "$idx" ] && \
+               ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x1000" "0x20000"
+       ;;
 xiaomi,mi-router-3g-v2|\
 xiaomi,mi-router-4a-gigabit|\
 xiaomi,miwifi-3c)