ramips: mt7621: Add support for ZyXEL NR7101
[openwrt/staging/chunkeey.git] / package / boot / uboot-envtools / files / ramips
index a16c88d8bd582830cd0c68b9dc8e89862948378b..bce2e5f0fb8fe151dcaaf2ef8495e14959de3325 100644 (file)
@@ -53,6 +53,11 @@ xiaomi,mi-router-ac2100|\
 xiaomi,redmi-router-ac2100)
        ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x20000"
        ;;
+zyxel,nr7101)
+       idx="$(find_mtd_index Config)"
+       [ -n "$idx" ] && \
+               ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x1000" "0x80000"
+       ;;
 esac
 
 config_load ubootenv