mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-02 17:20:59 +00:00
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>
This commit is contained in:
parent
51f4c84178
commit
f0adf253fd
@ -39,7 +39,7 @@ ruijie,rg-ew3200gx-pro)
|
|||||||
ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x20000" "0x20000"
|
ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x20000" "0x20000"
|
||||||
;;
|
;;
|
||||||
ubnt,unifi-6-lr-ubootmod)
|
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)
|
xiaomi,redmi-router-ax6s)
|
||||||
ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000" "0x40000"
|
ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000" "0x40000"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user