From: Robert Marko Date: Mon, 6 Jan 2025 18:12:18 +0000 (+0100) Subject: uboot-envtools: ipq60xx: remove number of blocks X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=285bdd29cb55900a2009e26303ab5abb66e165e9;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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)"