aboutsummaryrefslogtreecommitdiff
path: root/board/sbc8641d
diff options
context:
space:
mode:
authorKumar Gala2009-03-31 23:02:38 -0500
committerKumar Gala2009-04-01 15:29:44 -0500
commit7649a590b53ee548f41428bf20780f74ce9fc099 (patch)
tree760d4e61535a9e5382dbe81cc6b0feddace4cd7f /board/sbc8641d
parentf6ef8b7a43ed7f68a4bb524faad5e4f75ea3e3e2 (diff)
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/sbc8641d')
-rw-r--r--board/sbc8641d/sbc8641d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sbc8641d/sbc8641d.c b/board/sbc8641d/sbc8641d.c
index fc1f07dc002..9f696387eb2 100644
--- a/board/sbc8641d/sbc8641d.c
+++ b/board/sbc8641d/sbc8641d.c
@@ -414,7 +414,7 @@ void board_reset(void)
#endif
}
-#if (CONFIG_NUM_CPUS > 1)
+#ifdef CONFIG_MP
extern void cpu_mp_lmb_reserve(struct lmb *lmb);
void board_lmb_reserve(struct lmb *lmb)