aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools/files/ramips
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-envtools/files/ramips')
-rw-r--r--package/boot/uboot-envtools/files/ramips5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips
index a16c88d8bd..bce2e5f0fb 100644
--- a/package/boot/uboot-envtools/files/ramips
+++ b/package/boot/uboot-envtools/files/ramips
@@ -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