summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorSanjeev Premi <premi@ti.com>2009-04-03 14:00:07 +0530
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-04-05 00:30:39 +0200
commit36003268968949110ef145d9f2eaf8439c96d25b (patch)
tree3af082d8af673fbbb7abd71baa9553e42d907b8d /cpu
parent342c1a5d9ab74febf3226a86216dc5aa05295d46 (diff)
downloadu-boot-imx-36003268968949110ef145d9f2eaf8439c96d25b.zip
u-boot-imx-36003268968949110ef145d9f2eaf8439c96d25b.tar.gz
u-boot-imx-36003268968949110ef145d9f2eaf8439c96d25b.tar.bz2
OMAP: Fix compile issue
Fixes this compile error: board.c: In function 'do_switch_ecc': board.c:339: error: 'cmd_tbl_t' has no member named 'help' make[1]: *** [board.o] Error 1 make[1]: Leaving directory `/db/psp_git/users/a0756819/u-boot/cpu/arm_cortexa8/omap3' make: *** [cpu/arm_cortexa8/omap3/libomap3.a] Error 2 This is due to the fact that current command uses long help for the usage print even if the CONFIG_SYS_LONGHELP is not enabled. (Thanks Jean-Christophe for explanation). Signed-off-by: Sanjeev Premi <premi@ti.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm_cortexa8/omap3/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm_cortexa8/omap3/board.c b/cpu/arm_cortexa8/omap3/board.c
index 7bb3e28..15ea936 100644
--- a/cpu/arm_cortexa8/omap3/board.c
+++ b/cpu/arm_cortexa8/omap3/board.c
@@ -331,7 +331,7 @@ static int do_switch_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
return 0;
usage:
- printf ("Usage: nandecc %s\n", cmdtp->help);
+ printf ("Usage: nandecc %s\n", cmdtp->usage);
return 1;
}