ramips: mt7621: Add support for ZyXEL NR7101
[openwrt/staging/ynezz.git] / package / boot / uboot-envtools / files / ramips
index a47e2950d3aedf13e410212fa36962ac41167f69..c153b6a4226ba32ecc3ee9aba011d55b993128a7 100644 (file)
@@ -54,6 +54,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