mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
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
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ int checkcpu (void)
|
||||||
u32 spridr = immr->sysconf.spridr;
|
u32 spridr = immr->sysconf.spridr;
|
||||||
char buf[32];
|
char buf[32];
|
||||||
|
|
||||||
puts("CPU: ");
|
puts ("CPU: ");
|
||||||
|
|
||||||
switch (spridr & 0xffff0000) {
|
switch (spridr & 0xffff0000) {
|
||||||
case SPR_5121E:
|
case SPR_5121E:
|
||||||
|
|
|
@ -34,7 +34,7 @@ int checkcpu (void)
|
||||||
|
|
||||||
/* Get cpu version info */
|
/* Get cpu version info */
|
||||||
val = rdctl (CTL_CPU_ID);
|
val = rdctl (CTL_CPU_ID);
|
||||||
printf ("CPU: ");
|
puts ("CPU: ");
|
||||||
printf ("%s", (val & 0x00008000) ? "Nios-16 " : "Nios-32 ");
|
printf ("%s", (val & 0x00008000) ? "Nios-16 " : "Nios-32 ");
|
||||||
rev_major = (val>>12) & 0x07;
|
rev_major = (val>>12) & 0x07;
|
||||||
rev_minor = (val>>4) & 0x0ff;
|
rev_minor = (val>>4) & 0x0ff;
|
||||||
|
|
Loading…
Add table
Reference in a new issue