Skip to content
Snippets Groups Projects
Commit 77d19a8b authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Minor alignment of output, 2nd try.

Also update CHANGELOG

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent 6b309f22
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ int checkcpu (void) ...@@ -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) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment