From: Kumar Gala Date: Fri, 26 Aug 2011 14:15:13 -0500 Subject: [U-Boot] [PATCH] powerpc/mp: add support for discontiguous cores In-Reply-To: <1312578924-882-1-git-send-email-timur@freescale.com> References: <1312578924-882-1-git-send-email-timur@freescale.com> Message-ID: <68258CC3-F7F8-4BC9-88CF-7EA73BEC6E73@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Aug 5, 2011, at 4:15 PM, Timur Tabi wrote: > 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 > Signed-off-by: Kumar Gala > --- > arch/powerpc/cpu/mpc85xx/cpu.c | 9 ++++--- > arch/powerpc/cpu/mpc85xx/mp.c | 27 +++++++++++-------------- > arch/powerpc/cpu/mpc85xx/speed.c | 7 +++-- > arch/powerpc/cpu/mpc8xxx/cpu.c | 36 ++++++++++++++++++++++++++++++++- > arch/powerpc/cpu/mpc8xxx/fdt.c | 2 +- > arch/powerpc/include/asm/processor.h | 6 ++++- > common/cmd_mp.c | 5 +-- > include/common.h | 15 ++++++++++++++ > 8 files changed, 78 insertions(+), 29 deletions(-) applied to 85xx next - k