projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge 'next' branch
[oweals/u-boot.git]
/
cpu
/
nios
/
cpu.c
diff --git
a/cpu/nios/cpu.c
b/cpu/nios/cpu.c
index 51f42461a3c7c42f91bca9a1e4ebcb13fa862e54..5519e827804950dc4e4496bcbe0f91aef9120e78 100644
(file)
--- a/
cpu/nios/cpu.c
+++ b/
cpu/nios/cpu.c
@@
-34,7
+34,7
@@
int checkcpu (void)
/* Get cpu version info */
val = rdctl (CTL_CPU_ID);
/* Get cpu version info */
val = rdctl (CTL_CPU_ID);
- p
rintf ("CPU:
");
+ p
uts ("CPU:
");
printf ("%s", (val & 0x00008000) ? "Nios-16 " : "Nios-32 ");
rev_major = (val>>12) & 0x07;
rev_minor = (val>>4) & 0x0ff;
printf ("%s", (val & 0x00008000) ? "Nios-16 " : "Nios-32 ");
rev_major = (val>>12) & 0x07;
rev_minor = (val>>4) & 0x0ff;