All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mx6sabre_common.h: remove deprecated mmc open/close
@ 2015-03-03 14:48 Maxin B. John
  2015-03-03 21:49 ` Otavio Salvador
  2015-03-13 12:26 ` Stefano Babic
  0 siblings, 2 replies; 3+ messages in thread
From: Maxin B. John @ 2015-03-03 14:48 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Maxin B. John <maxin.john@enea.com>
---
 include/configs/mx6sabre_common.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
index 4aa8101..ea39a1c 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] mx6sabre_common.h: remove deprecated mmc open/close
  2015-03-03 14:48 [U-Boot] [PATCH] mx6sabre_common.h: remove deprecated mmc open/close Maxin B. John
@ 2015-03-03 21:49 ` Otavio Salvador
  2015-03-13 12:26 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2015-03-03 21:49 UTC (permalink / raw)
  To: u-boot

On Tue, Mar 3, 2015 at 11:48 AM, Maxin B. John <maxin.john@enea.com> wrote:
> 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
>
> Signed-off-by: Maxin B. John <maxin.john@enea.com>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] mx6sabre_common.h: remove deprecated mmc open/close
  2015-03-03 14:48 [U-Boot] [PATCH] mx6sabre_common.h: remove deprecated mmc open/close Maxin B. John
  2015-03-03 21:49 ` Otavio Salvador
@ 2015-03-13 12:26 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2015-03-13 12:26 UTC (permalink / raw)
  To: u-boot

Hi John,

On 03/03/2015 15:48, Maxin B. John wrote:
> 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
> 
> Signed-off-by: Maxin B. John <maxin.john@enea.com>
> ---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic



-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-13 12:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 14:48 [U-Boot] [PATCH] mx6sabre_common.h: remove deprecated mmc open/close Maxin B. John
2015-03-03 21:49 ` Otavio Salvador
2015-03-13 12:26 ` Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.