[openwrt/openwrt] uboot-envtools: ipq60xx: remove number of blocks

LEDE Commits lede-commits at lists.infradead.org
Mon Jan 6 12:24:47 PST 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/285bdd29cb55900a2009e26303ab5abb66e165e9

commit 285bdd29cb55900a2009e26303ab5abb66e165e9
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Mon Jan 6 19:12:18 2025 +0100

    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 at gmail.com>
---
 package/boot/uboot-envtools/files/qualcommax_ipq60xx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/boot/uboot-envtools/files/qualcommax_ipq60xx b/package/boot/uboot-envtools/files/qualcommax_ipq60xx
index ccc74e2df6..eec99ce8f9 100644
--- a/package/boot/uboot-envtools/files/qualcommax_ipq60xx
+++ b/package/boot/uboot-envtools/files/qualcommax_ipq60xx
@@ -18,12 +18,12 @@ cambiumnetworks,xe3-4)
 linksys,mr7350)
 	idx="$(find_mtd_index u_env)"
 	[ -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)
 	idx="$(find_mtd_index 0:appsblenv)"
 	[ -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)
 	idx="$(find_mtd_index 0:appsblenv)"




More information about the lede-commits mailing list