mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
Minor alignment of output, 2nd try.
Also update CHANGELOG Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user