summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-29 13:42:10 -0400
committerWolfgang Denk <wd@denx.de>2010-08-09 00:32:26 +0200
commit739b8080af30d6de73b13725abe27275dd3b27f6 (patch)
tree7b99908736fe50e98f0753e0f608b3002e490c25
parenta7481b353bb65eacd7b726b7661cf41ddb31306e (diff)
downloadu-boot-imx-739b8080af30d6de73b13725abe27275dd3b27f6.zip
u-boot-imx-739b8080af30d6de73b13725abe27275dd3b27f6.tar.gz
u-boot-imx-739b8080af30d6de73b13725abe27275dd3b27f6.tar.bz2
dataflash mmc mux: use common cmd_usage function
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--common/cmd_dataflash_mmc_mux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_dataflash_mmc_mux.c b/common/cmd_dataflash_mmc_mux.c
index de4e676..fc23ed6 100644
--- 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;
}