diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 00:22:54 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 00:22:54 +0100 |
commit | c6c3a3a03e6de52866bc81a32fc551733625d553 (patch) | |
tree | b55967a9163dba315e2543d648de758b82c85fa1 /arch/arm/mach-omap2/omap-smp.c | |
parent | 07e87e15b969a05a7943d7ff1abc2d8da287171c (diff) | |
parent | 8aca3ab5865f8cfbde841b6daf9442cc2279ced3 (diff) |
Merge branch 'omap/cleanup' into next/cleanup2
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 ce65e9329c7b..11e25a4c4bd5 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) { unsigned int i, ncores; - /* Never released */ - scu_base = ioremap(OMAP44XX_SCU_BASE, SZ_256); + /* + * Currently we can't call ioremap here because + * SoC detection won't work until after init_early. + */ + scu_base = OMAP2_L4_IO_ADDRESS(OMAP44XX_SCU_BASE); BUG_ON(!scu_base); ncores = scu_get_core_count(scu_base); |