Commit f7fecc3e authored by Ed Swarthout's avatar Ed Swarthout Committed by Wolfgang Denk
Browse files

pixis do not print long help if not configured



Signed-off-by: default avatarEd Swarthout <Ed.Swarthout@freescale.com>
parent 0e17f02a
...@@ -453,7 +453,9 @@ pixis_reset_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ...@@ -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)) if ((p_cf && !(p_cf_sysclk && p_cf_corepll && p_cf_mpxpll))
|| unknown_param) { || unknown_param) {
#ifdef CONFIG_SYS_LONGHELP
puts(cmdtp->help); puts(cmdtp->help);
#endif
return 1; return 1;
} }
...@@ -483,7 +485,9 @@ pixis_reset_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ...@@ -483,7 +485,9 @@ pixis_reset_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
if (!(set_px_sysclk(sysclk) if (!(set_px_sysclk(sysclk)
&& set_px_corepll(corepll) && set_px_corepll(corepll)
&& set_px_mpxpll(mpxpll))) { && set_px_mpxpll(mpxpll))) {
#ifdef CONFIG_SYS_LONGHELP
puts(cmdtp->help); puts(cmdtp->help);
#endif
return 1; return 1;
} }
read_from_px_regs(1); read_from_px_regs(1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment