aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-07-02 05:28:22 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-07-16 21:06:46 -0400
commit0ea2b5389ab1b63aa880c5735c15be0b26b91b1a (patch)
tree481af3e3593ee4146e80c5b7c5f17bbde61123f2 /arch
parent683101a66203149da96e93fb8c0740c726bc114f (diff)
ARM: shmobile: EMEV2 map_io update
Update the EMEV2 struct map_desc to exclude the SMU and also include the ->map_io() callback in the DT version of EMEV2 board support. The EMEV2 SMP code can these days perform ioremap() early on without the SMU information in the io_desc[]. To correctly support SMP in case of DT-only board support then the ->map_io() callback is needed. Signed-off-by: Magnus Damm <damm@opensource.se> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-shmobile/setup-emev2.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-shmobile/setup-emev2.c b/arch/arm/mach-shmobile/setup-emev2.c
index 6fa485dacc9c..19980be7d6a9 100644
--- a/arch/arm/mach-shmobile/setup-emev2.c
+++ b/arch/arm/mach-shmobile/setup-emev2.c
@@ -38,13 +38,6 @@
38 38
39static struct map_desc emev2_io_desc[] __initdata = { 39static struct map_desc emev2_io_desc[] __initdata = {
40#ifdef CONFIG_SMP 40#ifdef CONFIG_SMP
41 /* 128K entity map for 0xe0100000 (SMU) */
42 {
43 .virtual = 0xe0100000,
44 .pfn = __phys_to_pfn(0xe0100000),
45 .length = SZ_128K,
46 .type = MT_DEVICE
47 },
48 /* 2M mapping for SCU + L2 controller */ 41 /* 2M mapping for SCU + L2 controller */
49 { 42 {
50 .virtual = 0xf0000000, 43 .virtual = 0xf0000000,
@@ -211,6 +204,7 @@ static const char *emev2_boards_compat_dt[] __initdata = {
211 204
212DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)") 205DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)")
213 .smp = smp_ops(emev2_smp_ops), 206 .smp = smp_ops(emev2_smp_ops),
207 .map_io = emev2_map_io,
214 .init_early = emev2_init_delay, 208 .init_early = emev2_init_delay,
215 .dt_compat = emev2_boards_compat_dt, 209 .dt_compat = emev2_boards_compat_dt,
216MACHINE_END 210MACHINE_END