]> git.sur5r.net Git - u-boot/commit
powerpc/mpc8xxx: use topology registers to calculate number of cores
authorYork Sun <yorksun@freescale.com>
Fri, 17 Aug 2012 08:20:22 +0000 (08:20 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 23 Aug 2012 17:16:54 +0000 (12:16 -0500)
commit123bd96d533190a207c9fcea84ae6328732a16cc
treef8828f5698f38167604ade9ebdf5b0856986777b
parent1ca8690d27871b87b8ec4afe8621d1e003d25d7a
powerpc/mpc8xxx: use topology registers to calculate number of cores

We have actual topology infomation to find out exactly which core is present.
Calculate the number of cores if not specified.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc8xxx/cpu.c
arch/powerpc/include/asm/processor.h
arch/powerpc/lib/board.c