diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-11-03 15:44:01 -0600 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2008-11-04 10:58:50 -0600 |
commit | 1266df887781c779deaf6d05eea2ef90a470cb34 (patch) | |
tree | e38395f12d4705cc9afc4c25030e4f837e86279a /cpu/mpc86xx/cpu_init.c | |
parent | b5431560682d8f318fbc49db87cfe13ab41d2ee4 (diff) | |
download | u-boot-imx-1266df887781c779deaf6d05eea2ef90a470cb34.zip u-boot-imx-1266df887781c779deaf6d05eea2ef90a470cb34.tar.gz u-boot-imx-1266df887781c779deaf6d05eea2ef90a470cb34.tar.bz2 |
powerpc: change 86xx SMP boot method
We put the bootpg for the secondary cpus into memory and use
BPTR to get to it. This is a step towards converting to the
ePAPR boot methodology. Also, the code is written to
deal properly with more than 4GB of RAM.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'cpu/mpc86xx/cpu_init.c')
-rw-r--r-- | cpu/mpc86xx/cpu_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/mpc86xx/cpu_init.c b/cpu/mpc86xx/cpu_init.c index 4ab88f0..06f179c 100644 --- a/cpu/mpc86xx/cpu_init.c +++ b/cpu/mpc86xx/cpu_init.c @@ -31,6 +31,7 @@ #include <mpc86xx.h> #include <asm/mmu.h> #include <asm/fsl_law.h> +#include "mp.h" DECLARE_GLOBAL_DATA_PTR; @@ -121,6 +122,9 @@ void cpu_init_f(void) */ int cpu_init_r(void) { +#if (CONFIG_NUM_CPUS > 1) + setup_mp(); +#endif return 0; } |