[OpenWrt-Devel] uboot-envtools: remove erasesize from MMC config
diff mbox series

Message ID 1570055069-11863-1-git-send-email-tharvey@gateworks.com
State Accepted
Delegated to: Koen Vandeputte
Headers show
Series
  • [OpenWrt-Devel] uboot-envtools: remove erasesize from MMC config
Related show

Commit Message

Tim Harvey Oct. 2, 2019, 10:24 p.m. UTC
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@gateworks.com>
---
 package/boot/uboot-envtools/files/imx6 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox series

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)