Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
f7fecc3e
Commit
f7fecc3e
authored
Oct 08, 2008
by
Ed Swarthout
Committed by
Wolfgang Denk
Oct 18, 2008
Browse files
pixis do not print long help if not configured
Signed-off-by:
Ed Swarthout
<
Ed.Swarthout@freescale.com
>
parent
0e17f02a
Changes
1
Hide whitespace changes
Inline
Side-by-side
board/freescale/common/pixis.c
View file @
f7fecc3e
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment