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
6856b3d0
Commit
6856b3d0
authored
Oct 08, 2008
by
Ed Swarthout
Committed by
Wolfgang Denk
Oct 18, 2008
Browse files
85xx if NUM_CPUS>1, print cpu number
Signed-off-by:
Ed Swarthout
<
Ed.Swarthout@freescale.com
>
parent
f7fecc3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
cpu/mpc85xx/cpu.c
View file @
6856b3d0
...
...
@@ -99,7 +99,12 @@ int checkcpu (void)
#endif
minor
=
SVR_MIN
(
svr
);
#if (CONFIG_NUM_CPUS > 1)
volatile
ccsr_pic_t
*
pic
=
(
void
*
)(
CONFIG_SYS_MPC85xx_PIC_ADDR
);
printf
(
"CPU%d: "
,
pic
->
whoami
);
#else
puts
(
"CPU: "
);
#endif
cpu
=
identify_cpu
(
ver
);
if
(
cpu
)
{
...
...
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