[U-Boot] [PATCH 4/5] ARM: uniphier: do not erase when updating U-Boot image in eMMC device

Masahiro Yamada yamada.masahiro at socionext.com
Tue Jun 7 14:03:46 CEST 2016


Unlike NAND, eMMC can be re-written without erasing.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 include/configs/uniphier.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 10fd8c2..7d8a206 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -245,7 +245,6 @@
 		"tftpboot $tmp_addr u-boot.bin\0"		\
 	"emmcupdate=mmcsetn &&"					\
 		"mmc partconf $mmc_first_dev 0 1 1 &&"		\
-		"mmc erase 0 800 &&"				\
 		"tftpboot u-boot-spl.bin &&"			\
 		"mmc write $loadaddr 0 80 &&"			\
 		"tftpboot u-boot.bin &&"			\
-- 
1.9.1



More information about the U-Boot mailing list