summaryrefslogtreecommitdiff
path: root/board/st/u8500/u8500.c
diff options
context:
space:
mode:
authorMichael Brandt <michael.brandt@stericsson.com>2010-05-17 17:41:25 +0200
committerJonas ABERG <jonas.aberg@stericsson.com>2010-05-19 09:52:53 +0200
commit07967a694db6f9652453c302537d574ec10c63dc (patch)
tree3a08e67ce9f0f2c65385a8c67beb819e5ab453fb /board/st/u8500/u8500.c
parent83a5126ea67b3278d656f6f1b72962479de14320 (diff)
removed core2 related code
See ER 257608 Second core must not be woken up in U-Boot. If the kernel boots with only one core (nosmp), it cannot be guaranteed that the memory the second CPU is running from, is unused. Signed-off-by: Michael Brandt <michael.brandt@stericsson.com> Change-Id: If6acd1311d14be8514afde3dff4260db6a37cc54 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/310 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'board/st/u8500/u8500.c')
-rw-r--r--board/st/u8500/u8500.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/board/st/u8500/u8500.c b/board/st/u8500/u8500.c
index d106f0195..cf6b70bdc 100644
--- a/board/st/u8500/u8500.c
+++ b/board/st/u8500/u8500.c
@@ -116,18 +116,6 @@ static struct clk_mgt_regs maja_clk_regs[] = {
{0, 0, NULL},
};
-extern void (*handler)(void);
-extern void secondary_wfe(void);
-
-void wake_up_other_cores(void)
-{
- handler = secondary_wfe;
- *((volatile unsigned int *)(NOMADIK_BACKUPRAM0_BASE+0x1FF4))= handler;
- *((volatile unsigned int *)(NOMADIK_BACKUPRAM0_BASE+0x1FF0))= 0xA1FEED01;
- asm("SEV");
- return;
-}
-
static void init_regs(void);
DECLARE_GLOBAL_DATA_PTR;
@@ -171,7 +159,6 @@ int dram_init(void)
{
gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
gd->bd->bi_dram[0].size = PHYS_SDRAM_SIZE_1;
- wake_up_other_cores();
return 0;
}