summaryrefslogtreecommitdiff
path: root/board/amcc/taishan
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-01-27 18:03:11 -0600
committerWolfgang Denk <wd@denx.de>2009-01-28 08:43:52 +0100
commit79621bc10ba8b8c45d348994aba5b9e4923cb77b (patch)
treeb0d5203f7b03b0de86855c22c9ec9551e1ab5ddd /board/amcc/taishan
parent62c3ae7c6ef215b1afa614abdf61acf077752207 (diff)
downloadu-boot-odroid-c1-79621bc10ba8b8c45d348994aba5b9e4923cb77b.tar.gz
amcc: Clean up command usage output
Update taihu and taishan commands to use cmd_usage() function to display usage messages. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'board/amcc/taishan')
-rw-r--r--board/amcc/taishan/lcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/amcc/taishan/lcd.c b/board/amcc/taishan/lcd.c
index 624ae40f62..4e14bbc9ae 100644
--- a/board/amcc/taishan/lcd.c
+++ b/board/amcc/taishan/lcd.c
@@ -167,7 +167,7 @@ static int do_lcd_clear(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
static int do_lcd_puts(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
{
if (argc < 2) {
- printf("%s", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
lcd_puts(argv[1]);
@@ -176,7 +176,7 @@ static int do_lcd_puts(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
static int do_lcd_putc(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
{
if (argc < 2) {
- printf("%s", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
lcd_putc((char)argv[1][0]);
@@ -189,7 +189,7 @@ static int do_lcd_cur(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
char cur_addr;
if (argc < 3) {
- printf("%s", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}