projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7481b3
)
dataflash mmc mux: use common cmd_usage function
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 29 Jul 2010 17:42:10 +0000
(13:42 -0400)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 8 Aug 2010 22:32:26 +0000
(
00:32
+0200)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_dataflash_mmc_mux.c
patch
|
blob
|
history
diff --git
a/common/cmd_dataflash_mmc_mux.c
b/common/cmd_dataflash_mmc_mux.c
index
de4e676
..
fc23ed6
100644
(file)
--- a/
common/cmd_dataflash_mmc_mux.c
+++ b/
common/cmd_dataflash_mmc_mux.c
@@
-41,8
+41,7
@@
int do_dataflash_mmc_mux (cmd_tbl_t *cmdtp, int flag, int argc, char * const arg
AT91F_GetMuxStatus () ? "MMC" : "SPI");
return 0;
default:
- printf ("Usage:\n%s\n", cmdtp->usage);
- return 1;
+ return cmd_usage(cmdtp);
}
return 0;
}