projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b309f2
)
Minor alignment of output, 2nd try.
author
Wolfgang Denk
<wd@denx.de>
Sun, 12 Aug 2007 19:34:34 +0000
(21:34 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 12 Aug 2007 19:34:34 +0000
(21:34 +0200)
Also update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
cpu/mpc512x/cpu.c
patch
|
blob
|
history
cpu/nios/cpu.c
patch
|
blob
|
history
diff --git
a/cpu/mpc512x/cpu.c
b/cpu/mpc512x/cpu.c
index 3f2e3ad3c00976de5d75c9adbdbb16075d36a8e2..accae6e066eb6897b3d3d5ed810e2672efab63ed 100644
(file)
--- a/
cpu/mpc512x/cpu.c
+++ b/
cpu/mpc512x/cpu.c
@@
-42,7
+42,7
@@
int checkcpu (void)
u32 spridr = immr->sysconf.spridr;
char buf[32];
- puts
("CPU:
");
+ puts
("CPU:
");
switch (spridr & 0xffff0000) {
case SPR_5121E:
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);
- p
rintf ("CPU:
");
+ p
uts ("CPU:
");
printf ("%s", (val & 0x00008000) ? "Nios-16 " : "Nios-32 ");
rev_major = (val>>12) & 0x07;
rev_minor = (val>>4) & 0x0ff;