ARM: shmobile: Temporarily use emev2_map_io() for SMP
Magnus Damm
maintainerPATCH 2/2 ARM: shmobile: Temporarily use emev2_map_io() for SMP
From: Magnus Damm <[email protected]>
To run SMP together with DT we need to use emev2_map_io on EMEV2. This due to some early requirements for ioremap().
Instead of blindly applying this I believe we should spend time looking into why the common ARM ioremap() code dies early instead of behaving sanely and returning NULL.
So for now I prefer not to merge this. Anyone wanting to use and/or develop code for KZM9D can instead make use of the code in board-kzm9d.c.
Not-at-all-signed-off-by Magnus Damm <[email protected]>
---
arch/arm/mach-shmobile/setup-emev2.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-shmobile/setup-emev2.c +1 -0
@@ -454,6 +454,7 @@ static const char *emev2_boards_compat_dDT_MACHINE_START (EMEV2_DT ,"Generic Emma Mobile EV2 (Flattened Device Tree)" ) .smp = smp_ops(emev2_smp_ops), + .map_io = emev2_map_io, .init_early = emev2_init_delay, .nr_irqs = NR_IRQS_LEGACY, .init_irq = irqchip_init,