diff options
Diffstat (limited to 'cpu/mpc83xx/cpu.c')
| -rw-r--r-- | cpu/mpc83xx/cpu.c | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/cpu/mpc83xx/cpu.c b/cpu/mpc83xx/cpu.c index c84aeb4df..8c9b515fa 100644 --- a/cpu/mpc83xx/cpu.c +++ b/cpu/mpc83xx/cpu.c @@ -50,7 +50,7 @@ int checkcpu(void)  		return -1;  	} -	puts("CPU: MPC83xx, "); +	puts("CPU:   MPC83xx, ");  	switch(pvr) {  	case PVR_8349_REV10:  		break; @@ -60,7 +60,9 @@ int checkcpu(void)  		puts("Rev: Unknown\n");  		return -1;	/* Not sure what this is */  	} -	printf("Rev: %02x at %s MHz\n",pvr & 0x0000FFFF, strmhz(buf, clock)); +	printf("Rev: %d.%d at %s MHz\n", (pvr & 0xf0) >> 4, +		(pvr & 0x0f), strmhz(buf, clock)); +  	return 0;  } |