]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
85xx: expose cpu identification
authorKumar Gala <galak@kernel.crashing.org>
Tue, 10 Jun 2008 21:53:46 +0000 (16:53 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Tue, 10 Jun 2008 23:22:25 +0000 (18:22 -0500)
commit4dbdb7681e243431530df0725627192a0c4aefda
tree5ceb394528797079fe563f78f3de3da9bf20f582
parentee1e35bede91debc8bff9b02f75574486033b652
85xx: expose cpu identification

The current cpu identification code is used just to return the name
of the processor at boot.  There are some other locations that the name
is useful (device tree setup).  Expose the functionality to other bits
of code.

Also, drop the 'E' suffix and add it on by looking at the SVR version
when we print this out.  This is mainly to allow the most flexible use
of the name.  The device tree code tends to not care about the 'E' suffix.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
cpu/mpc85xx/cpu.c
include/asm-ppc/processor.h