mx6sabre_common.h: remove deprecated mmc open/close
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
@@ -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
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.has those commands were removed with this commit:614b2bf1c9bf80dbad24f5e5ce1d115bf24a831d
cmd_mmc.c: Drop open/close mmc sub-commandsSigned-off-by Maxin B. John <[email protected]>
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
PATCH 1/1 mx6sabre_common.h: remove deprecated mmc open/close
In reply to Maxin B. JohnHi John,
Quoted 7 lines · Maxin B. John
Replace "mmc open/close" with "mmc dev" in
mx6sabre_common.has those commands were removed with this commit:614b2bf1c9bf80dbad24f5e5ce1d115bf24a831d
cmd_mmc.c: Drop open/close mmc sub-commandsSigned-off-by Maxin B. John <[email protected]>---
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 =====================================================================