projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f9d1cf
)
mx6sabre_common.h: remove deprecated mmc open/close
author
[email protected]
<
[email protected]
>
Tue, 3 Mar 2015 14:48:41 +0000
(15:48 +0100)
committer
Stefano Babic
<
[email protected]
>
Fri, 13 Mar 2015 12:25:20 +0000
(13:25 +0100)
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 <
[email protected]
>
Acked-by: Otavio Salvador <
[email protected]
>
include/configs/mx6sabre_common.h
patch
|
blob
|
history
diff --git
a/include/configs/mx6sabre_common.h
b/include/configs/mx6sabre_common.h
index f0e37f0ca6d4140120acc30a35b9a317894f79a7..cbd9a6cd15a5901163a9ac391b29d5766a107bca 100644
(file)
--- 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