uboot-envtools: ipq60xx: remove number of blocks
authorRobert Marko <robimarko@gmail.com>
Mon, 6 Jan 2025 18:12:18 +0000 (19:12 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 6 Jan 2025 20:24:44 +0000 (21:24 +0100)
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>
package/boot/uboot-envtools/files/qualcommax_ipq60xx

index ccc74e2df6e92c44203744f56d0c162b2872dc09..eec99ce8f979b9c67f7ba40782aceb364f890c5b 100644 (file)
@@ -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)"