Skip to contentSkip to conversation

mx6sabre_common.h: remove deprecated mmc open/close

PATCH New Maxin B. John 3 participants 3 messages Mar 3, 2015 – Mar 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx6sabre_common.h: remove deprecated mmc open/close

Replace "mmc open/close" with "mmc dev" in mx6sabre_common.h as those commands were removed with this commit: 614b2bf1c9bf80dbad24f5e5ce1d115bf24a831d

cmd_mmc.c: Drop open/close mmc sub-commands

---
 include/configs/mx6sabre_common.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
include/configs/mx6sabre_common.h +1 -3
index 4aa8101..ea39a1c 100644
@@ -109,12 +109,10 @@
 			"setenv get_cmd tftp; " \
 		"fi; " \
 		"if ${get_cmd} ${update_sd_firmware_filename}; then " \
-			"if mmc dev ${emmcdev} && " \
-				"mmc open ${emmcdev} 1; then "	\
+			"if mmc dev ${emmcdev} 1; then "	\
 				"setexpr fw_sz ${filesize} / 0x200; " \
 				"setexpr fw_sz ${fw_sz} + 1; "	\
 				"mmc write ${loadaddr} 0x2 ${fw_sz}; " \
-				"mmc close ${emmcdev} 1; " \
 			"fi; "	\
 		"fi\0"
 #else
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 mx6sabre_common.h: remove deprecated mmc open/close

Quoted 6 lines · Maxin B. John

Replace "mmc open/close" with "mmc dev" in mx6sabre_common.h as those commands were removed with this commit: 614b2bf1c9bf80dbad24f5e5ce1d115bf24a831d

cmd_mmc.c: Drop open/close mmc sub-commands

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw

PATCH 1/1 mx6sabre_common.h: remove deprecated mmc open/close

In reply to Maxin B. John

Hi John,

Quoted 7 lines · Maxin B. John

Replace "mmc open/close" with "mmc dev" in mx6sabre_common.h as those commands were removed with this commit: 614b2bf1c9bf80dbad24f5e5ce1d115bf24a831d

cmd_mmc.c: Drop open/close mmc sub-commands

---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================