summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8641hpcn
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-03-31 23:02:38 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-04-01 15:29:44 -0500
commit7649a590b53ee548f41428bf20780f74ce9fc099 (patch)
tree760d4e61535a9e5382dbe81cc6b0feddace4cd7f /board/freescale/mpc8641hpcn
parentf6ef8b7a43ed7f68a4bb524faad5e4f75ea3e3e2 (diff)
downloadu-boot-imx-7649a590b53ee548f41428bf20780f74ce9fc099.zip
u-boot-imx-7649a590b53ee548f41428bf20780f74ce9fc099.tar.gz
u-boot-imx-7649a590b53ee548f41428bf20780f74ce9fc099.tar.bz2
86xx: Cleanup MP support
* Use CONFIG_MP instead of CONFIG_NUM_CPUS to match 85xx * Introduce determine_mp_bootpg() helper. We'll need this to address a bug introduced in v2009.03 with 86xx MP booting. We have to make sure to reserve the region of memory used for the MP bootpg() so other u-boot code doesn't use it. * Added dummy versions of cpu_reset(), cpu_status() & cpu_release() to allow cmd_mp.c to build and work. In the future we should look at implementing all these functions. This could be common w/85xx if we use spin tables on 86xx. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8641hpcn')
-rw-r--r--board/freescale/mpc8641hpcn/mpc8641hpcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c
index 1e35dfa..ef0095a 100644
--- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c
+++ b/board/freescale/mpc8641hpcn/mpc8641hpcn.c
@@ -375,7 +375,7 @@ void board_reset(void)
;
}
-#if (CONFIG_NUM_CPUS > 1)
+#ifdef CONFIG_MP
extern void cpu_mp_lmb_reserve(struct lmb *lmb);
void board_lmb_reserve(struct lmb *lmb)