ソースを参照

uboot-envtools: fix meraki mr24 definition

These two are redundant definitions according to dts. A value of 4 (CRC
no redundancy) makes no sense.

Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16618
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev 7 ヶ月 前
コミット
387e5d57cc
1 ファイル変更2 行追加2 行削除
  1. 2 2
      package/boot/uboot-tools/uboot-envtools/files/apm821xx

+ 2 - 2
package/boot/uboot-tools/uboot-envtools/files/apm821xx

@@ -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"