Minor alignment of output, 2nd try.
Also update CHANGELOG Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
6b309f22a7
commit
77d19a8bf3
@ -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:
|
||||
|
@ -34,7 +34,7 @@ int checkcpu (void)
|
||||
|
||||
/* Get cpu version info */
|
||||
val = rdctl (CTL_CPU_ID);
|
||||
printf ("CPU: ");
|
||||
puts ("CPU: ");
|
||||
printf ("%s", (val & 0x00008000) ? "Nios-16 " : "Nios-32 ");
|
||||
rev_major = (val>>12) & 0x07;
|
||||
rev_minor = (val>>4) & 0x0ff;
|
||||
|
Loading…
Reference in New Issue
Block a user