aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-08-28 16:07:05 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-08-28 16:11:09 +0100
commitf0adf253fdcf78ce005dad9652b405a4ad2726e6 (patch)
tree0bb0fbbbdb09aebf8b8bf0691c940fd055ed83f8 /package/boot/uboot-envtools
parent51f4c8417819bc0ba6bc1808328478503e179fc4 (diff)
downloadupstream-f0adf253fdcf78ce005dad9652b405a4ad2726e6.tar.gz
upstream-f0adf253fdcf78ce005dad9652b405a4ad2726e6.tar.bz2
upstream-f0adf253fdcf78ce005dad9652b405a4ad2726e6.zip
uboot-envtools: mt7622: use 4k sectors for UniFi 6 LR (ubootmod)
Use 4k sectors when accessing the U-Boot environment on the 64MiB SPI-NOR flash chip found in the UniFi 6 LR. The speeds up environment write access as only 4kB instead of 64kB have to be written. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/uboot-envtools')
-rw-r--r--package/boot/uboot-envtools/files/mediatek_mt76222
1 files changed, 1 insertions, 1 deletions
diff --git a/package/boot/uboot-envtools/files/mediatek_mt7622 b/package/boot/uboot-envtools/files/mediatek_mt7622
index 830414225e..654f78056a 100644
--- a/package/boot/uboot-envtools/files/mediatek_mt7622
+++ b/package/boot/uboot-envtools/files/mediatek_mt7622
@@ -39,7 +39,7 @@ ruijie,rg-ew3200gx-pro)
ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x20000" "0x20000"
;;
ubnt,unifi-6-lr-ubootmod)
- ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x10000"
+ ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x1000"
;;
xiaomi,redmi-router-ax6s)
ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000" "0x40000"