]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-envtools: fix meraki mr24 definition
authorRosen Penev <rosenp@gmail.com>
Sun, 13 Jul 2025 18:11:28 +0000 (11:11 -0700)
committerRobert Marko <robimarko@gmail.com>
Thu, 19 Mar 2026 09:40:13 +0000 (10:40 +0100)
These two are redundant definitions according to dts. A value of 4 (CRC
no redundancy) makes no sense.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16618
(cherry picked from commit 387e5d57ccdb18f7e3d89b93818e22deed2c302c)
Link: https://github.com/openwrt/openwrt/pull/22339
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/boot/uboot-tools/uboot-envtools/files/apm821xx

index 1076f931bb7cc008651d039b25e05f6aace3ccc4..83f61f8c6ef233554d6b388150a24f67c1847dbd 100644 (file)
@@ -9,8 +9,8 @@ board=$(board_name)
 
 case "$board" in
 meraki,mr24)
-       ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x4000" "0x4000" "4"
-       ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "4"
+       ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x4000" "0x4000" "1"
+       ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "1"
        ;;
 meraki,mx60)
        ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000" "4"