]> 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>
Sun, 8 Feb 2026 17:37:43 +0000 (18:37 +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
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/boot/uboot-tools/uboot-envtools/files/apm821xx

index c3642bda9184e9108a1885f1905c77fa7817c411..8f4fbe918f1075f3ea7ccef33c5c5dedc89179e8 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" "1"