mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-11 21:25:48 +00:00
uboot-envtools: ipq60xx: remove number of blocks
It is not required to specify the number of blocks as envtools are able to autodetect it. Link: https://github.com/openwrt/openwrt/pull/17504 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
d09dd75fbd
commit
285bdd29cb
@ -18,12 +18,12 @@ cambiumnetworks,xe3-4)
|
|||||||
linksys,mr7350)
|
linksys,mr7350)
|
||||||
idx="$(find_mtd_index u_env)"
|
idx="$(find_mtd_index u_env)"
|
||||||
[ -n "$idx" ] && \
|
[ -n "$idx" ] && \
|
||||||
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000" "2"
|
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000"
|
||||||
;;
|
;;
|
||||||
netgear,wax214)
|
netgear,wax214)
|
||||||
idx="$(find_mtd_index 0:appsblenv)"
|
idx="$(find_mtd_index 0:appsblenv)"
|
||||||
[ -n "$idx" ] && \
|
[ -n "$idx" ] && \
|
||||||
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000" "2"
|
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000"
|
||||||
;;
|
;;
|
||||||
yuncore,fap650)
|
yuncore,fap650)
|
||||||
idx="$(find_mtd_index 0:appsblenv)"
|
idx="$(find_mtd_index 0:appsblenv)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user