Thread (34 messages) 34 messages, 10 authors, 2012-05-08
STALE5145d REVIEWED: 1 (0M)

[PATCH 02/15] ARM: davinci: use machine specific hook for late init

From: Sekhar Nori <hidden>
Date: 2012-05-04 19:58:57

Hi Shawn,

On 5/2/2012 5:03 PM, Shawn Guo wrote:
Cc: Sekhar Nori <redacted>
Cc: Kevin Hilman <redacted>
Signed-off-by: Shawn Guo <redacted>
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c
index d72ab94..f213359 100644
--- a/arch/arm/mach-davinci/board-dm646x-evm.c
+++ b/arch/arm/mach-davinci/board-dm646x-evm.c
@@ -798,6 +798,7 @@ MACHINE_START(DAVINCI_DM6467TEVM, "DaVinci DM6467T EVM")
 	.init_irq     = davinci_irq_init,
 	.timer        = &davinci_timer,
 	.init_machine = evm_init,
+	.init_late	= davinci_init_late,
 	.dma_zone_size	= SZ_128M,
 	.restart	= davinci_restart,
 MACHINE_END
There is another machine defined in the board-dm646x-evm.c file which
needs to be updated too. You can apply the following diff.
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c
b/arch/arm/mach-davinci/board-dm646x-index f213359..958679a 100644
--- a/arch/arm/mach-davinci/board-dm646x-evm.c
+++ b/arch/arm/mach-davinci/board-dm646x-evm.c
@@ -788,6 +788,7 @@ MACHINE_START(DAVINCI_DM6467_EVM, "DaVinci DM646x EVM")
        .init_irq     = davinci_irq_init,
        .timer        = &davinci_timer,
        .init_machine = evm_init,
+       .init_late      = davinci_init_late,
        .dma_zone_size  = SZ_128M,
        .restart        = davinci_restart,
 MACHINE_END
With this fixed, please also add my:

Acked-by: Sekhar Nori <redacted>

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