Message ID | 1425394121-18366-1-git-send-email-maxin.john@enea.com |
---|---|
State | Awaiting Upstream |
Delegated to: | Stefano Babic |
Headers | show |
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>
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
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
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(-)