Thread (27 messages) 27 messages, 5 authors, 2013-06-25

[PATCH v3 06/10] ARM:stixxxx: Add DEBUG_LL console support

From: Srinivas KANDAGATLA <hidden>
Date: 2013-06-21 06:56:22
Also in: linux-devicetree, linux-serial, lkml

On 20/06/13 19:55, Arnd Bergmann wrote:
On Thursday 20 June 2013, Srinivas KANDAGATLA wrote:
quoted
--- a/arch/arm/mach-stixxxx/board-dt.c
+++ b/arch/arm/mach-stixxxx/board-dt.c
@@ -11,6 +11,7 @@
 #include <linux/clocksource.h>
 #include <linux/irq.h>
 #include <asm/hardware/cache-l2x0.h>
+#include <asm/mach/map.h>
 #include <asm/mach/arch.h>
 
 #include "smp.h"
@@ -42,6 +43,7 @@ static const char *stih41x_dt_match[] __initdata = {
 };
 
 DT_MACHINE_START(STM, "STiH415/416 SoC with Flattened Device Tree")
+       .map_io         = debug_ll_io_init,
        .init_time      = stih41x_timer_init,
        .smp            = smp_ops(stixxxx_smp_ops),
        .dt_compat      = stih41x_dt_match,
This part of the patch is no longer needed, we do the same when .map_io
is not set.
I can see the commit bc37324e "ARM: mmu: Call debug_ll_io_init if no
map_io function is specified" in arm-soc.git:for-next branch.

That makes sense to take care of this before this patch gets merged. I
will remove this line in next spin hopefully very soon.

Thanks,
srini

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help