]> git.sur5r.net Git - u-boot/commit
powerpc/mp: add support for discontiguous cores
authorTimur Tabi <timur@freescale.com>
Fri, 5 Aug 2011 21:15:24 +0000 (16:15 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 30 Sep 2011 00:01:05 +0000 (19:01 -0500)
commitfbb9ecf7493fbd6b8c8af7d52e90c915459f7040
treeb19bce4d9c77be58fc1aba43bd73625222c99f8f
parent86df5142a14868ea0e24511f4293d43a611a2b39
powerpc/mp: add support for discontiguous cores

Some SOCs have discontiguously-numbered cores, and so we can't determine the
valid core numbers via the FRR register any more.  We define
CPU_TYPE_ENTRY_MASK to specify a discontiguous core mask, and helper functions
to process the mask and enumerate over the set of valid cores.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cpu.c
arch/powerpc/cpu/mpc85xx/mp.c
arch/powerpc/cpu/mpc85xx/speed.c
arch/powerpc/cpu/mpc8xxx/cpu.c
arch/powerpc/cpu/mpc8xxx/fdt.c
arch/powerpc/include/asm/processor.h
common/cmd_mp.c
include/common.h