[U-Boot] [PATCH v3] 85xx: Add support for not releasing secondary cores via 'mp_holdoff'
Kumar Gala
galak at kernel.crashing.org
Wed Oct 20 08:16:27 CEST 2010
On Sep 30, 2010, at 12:22 PM, Peter Tyser wrote:
> From: Aaron Sierra <asierra at xes-inc.com>
>
> Some OSes require that secondary cores not be initialized when they
> are booted (eg VxWorks). By default when U-Boot is compiled with the
> CONFIG_MP option all secondary cores are brought out of reset and held
> in spinloops. Setting the "mp_holdoff" environment variable to 'yes'
> or '1' will cause U-Boot to leave secondary cores in their default
> state.
>
> Signed-off-by: Aaron Sierra <asierra at xes-inc.com>
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---
> Changes since v1:
> - Update 'enable-method' in dtb appropriately
> - Don't set cpu-release-addr if spin-table isn't used
> - Add hold_cores_in_reset() function with more intelligent mp_holdoff
> environment variable checking
>
> Changes since v2:
> - Fixed enable-method inconsistency pointed out by Scott
>
> arch/powerpc/cpu/mpc85xx/fdt.c | 22 +++++++++++++++++++---
> arch/powerpc/cpu/mpc85xx/mp.c | 31 +++++++++++++++++++++++++++++++
> arch/powerpc/cpu/mpc85xx/mp.h | 1 +
> 3 files changed, 51 insertions(+), 3 deletions(-)
applied to 85xx
- k
More information about the U-Boot
mailing list