diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap-smp.c')
-rw-r--r-- | arch/arm/mach-omap2/omap-smp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c index 889464dc7b2d..4412ddb7b3f6 100644 --- a/arch/arm/mach-omap2/omap-smp.c +++ b/arch/arm/mach-omap2/omap-smp.c | |||
@@ -102,8 +102,11 @@ void __init smp_init_cpus(void) | |||
102 | { | 102 | { |
103 | unsigned int i, ncores; | 103 | unsigned int i, ncores; |
104 | 104 | ||
105 | /* Never released */ | 105 | /* |
106 | scu_base = ioremap(OMAP44XX_SCU_BASE, SZ_256); | 106 | * Currently we can't call ioremap here because |
107 | * SoC detection won't work until after init_early. | ||
108 | */ | ||
109 | scu_base = OMAP2_L4_IO_ADDRESS(OMAP44XX_SCU_BASE); | ||
107 | BUG_ON(!scu_base); | 110 | BUG_ON(!scu_base); |
108 | 111 | ||
109 | ncores = scu_get_core_count(scu_base); | 112 | ncores = scu_get_core_count(scu_base); |