diff options
author | Ed Swarthout <Ed.Swarthout@freescale.com> | 2008-10-08 23:38:01 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-10-18 21:54:05 +0200 |
commit | f7fecc3e25050a036c9f50f0d2b85bc3199a96e0 (patch) | |
tree | 2c430e964b06fb68d953242d60bd4772197db464 /board | |
parent | 0e17f02a8a78d85225a4d805f6a1ea95a0a460b5 (diff) | |
download | u-boot-imx-f7fecc3e25050a036c9f50f0d2b85bc3199a96e0.zip u-boot-imx-f7fecc3e25050a036c9f50f0d2b85bc3199a96e0.tar.gz u-boot-imx-f7fecc3e25050a036c9f50f0d2b85bc3199a96e0.tar.bz2 |
pixis do not print long help if not configured
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/common/pixis.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/common/pixis.c b/board/freescale/common/pixis.c index 348696e..de3a182 100644 --- a/board/freescale/common/pixis.c +++ b/board/freescale/common/pixis.c @@ -453,7 +453,9 @@ pixis_reset_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) */ if ((p_cf && !(p_cf_sysclk && p_cf_corepll && p_cf_mpxpll)) || unknown_param) { +#ifdef CONFIG_SYS_LONGHELP puts(cmdtp->help); +#endif return 1; } @@ -483,7 +485,9 @@ pixis_reset_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) if (!(set_px_sysclk(sysclk) && set_px_corepll(corepll) && set_px_mpxpll(mpxpll))) { +#ifdef CONFIG_SYS_LONGHELP puts(cmdtp->help); +#endif return 1; } read_from_px_regs(1); |