[OpenWrt-Devel] [PATCH] uboot-envtools: remove erasesize from MMC config

Tim Harvey tharvey at gateworks.com
Wed Oct 2 18:24:29 EDT 2019


Erasesize doesn't belong in the u-boot env config for block devices as it is
known to be 512 byte aligned.

Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 package/boot/uboot-envtools/files/imx6 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/boot/uboot-envtools/files/imx6 b/package/boot/uboot-envtools/files/imx6
index fb05f13..330efb2 100644
--- a/package/boot/uboot-envtools/files/imx6
+++ b/package/boot/uboot-envtools/files/imx6
@@ -24,8 +24,8 @@ apalis*)
 		ubootenv_add_uci_config /dev/mtd1 0x80000 0x20000 0x40000
 	else
 		# board boots from microSD
-		ubootenv_add_uci_config /dev/mmcblk0 0xb1400 0x20000 0x20000
-		ubootenv_add_uci_config /dev/mmcblk0 0xd1400 0x20000 0x20000
+		ubootenv_add_uci_config /dev/mmcblk0 0xb1400 0x20000
+		ubootenv_add_uci_config /dev/mmcblk0 0xd1400 0x20000
 	fi
 	;;
 wandboard)
-- 
2.7.4


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list