SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH 02/02] ARM: shmobile: Temporarily use emev2_map_io() for SMP
@ 2013-02-13 14:16 Magnus Damm
  0 siblings, 0 replies; 2+ messages in thread
From: Magnus Damm @ 2013-02-13 14:16 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@opensource.se>

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-Yet-Signed-off-by: Magnus Damm <damm@opensource.se>
---

 arch/arm/mach-shmobile/setup-emev2.c |    1 +
 1 file changed, 1 insertion(+)

--- 0002/arch/arm/mach-shmobile/setup-emev2.c
+++ work/arch/arm/mach-shmobile/setup-emev2.c	2013-02-13 17:08:33.000000000 +0900
@@ -454,6 +454,7 @@ static const char *emev2_boards_compat_d
 
 DT_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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 02/02] ARM: shmobile: Temporarily use emev2_map_io() for SMP
@ 2013-03-27  7:12 Magnus Damm
  0 siblings, 0 replies; 2+ messages in thread
From: Magnus Damm @ 2013-03-27  7:12 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@opensource.se>

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 <damm@opensource.se>
---

 arch/arm/mach-shmobile/setup-emev2.c |    1 +
 1 file changed, 1 insertion(+)

--- 0002/arch/arm/mach-shmobile/setup-emev2.c
+++ work/arch/arm/mach-shmobile/setup-emev2.c	2013-02-13 17:08:33.000000000 +0900
@@ -454,6 +454,7 @@ static const char *emev2_boards_compat_d
 
 DT_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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-27  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-13 14:16 [PATCH 02/02] ARM: shmobile: Temporarily use emev2_map_io() for SMP Magnus Damm
  -- strict thread matches above, loose matches on Subject: below --
2013-03-27  7:12 Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox