summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc85xx/mp.h
diff options
context:
space:
mode:
authorAaron Sierra <asierra@xes-inc.com>2010-09-30 12:22:16 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-10-20 02:38:40 -0500
commit9d64c6bb4a0db0f1c74a46f1cabe85d5a7a8a19b (patch)
tree77591aacfd111abfa122cb30cb54fe9405f55ff0 /arch/powerpc/cpu/mpc85xx/mp.h
parent58edbc9caaef4efbf12de8a451d70c2ad86934bf (diff)
downloadu-boot-9d64c6bb4a0db0f1c74a46f1cabe85d5a7a8a19b.tar.gz
85xx: Add support for not releasing secondary cores via 'mp_holdoff'
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@xes-inc.com> Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/mp.h')
-rw-r--r--arch/powerpc/cpu/mpc85xx/mp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/mp.h b/arch/powerpc/cpu/mpc85xx/mp.h
index 3422cc1070..87bac37152 100644
--- a/arch/powerpc/cpu/mpc85xx/mp.h
+++ b/arch/powerpc/cpu/mpc85xx/mp.h
@@ -6,6 +6,7 @@
ulong get_spin_phys_addr(void);
ulong get_spin_virt_addr(void);
u32 get_my_id(void);
+int hold_cores_in_reset(int verbose);
#define BOOT_ENTRY_ADDR_UPPER 0
#define BOOT_ENTRY_ADDR_LOWER 1