summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxin.john@enea.com <maxin.john@enea.com>2015-03-03 15:48:41 +0100
committerStefano Babic <sbabic@denx.de>2015-03-13 13:25:20 +0100
commit4bf83961b84d5cf51af9dd7b362c9ed416b33bbe (patch)
treee003d6cba10ef965617a2a99953631507e0581ff
parent1f9d1cf6b28ec9e2230299eb8f81e58a40070655 (diff)
downloadu-boot-imx-4bf83961b84d5cf51af9dd7b362c9ed416b33bbe.zip
u-boot-imx-4bf83961b84d5cf51af9dd7b362c9ed416b33bbe.tar.gz
u-boot-imx-4bf83961b84d5cf51af9dd7b362c9ed416b33bbe.tar.bz2
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 Signed-off-by: Maxin B. John <maxin.john@enea.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--include/configs/mx6sabre_common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
index f0e37f0..cbd9a6c 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -111,12 +111,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