[PATCH 06/17] arm: ux500: Add u9540 PRCMU TCDM configuration

From: Loic Pallardy
Date: Wed Sep 05 2012 - 06:02:02 EST


u9540 dedicated prcmu configuration to use legacy driver

Signed-off-by: Loic Pallardy <loic.pallardy@xxxxxxxxxxxxxx>
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
arch/arm/mach-ux500/board-mop500.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index a38493b..0869c58 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -723,6 +723,12 @@ static void __init mop500_init_irq(void)
ux500_init_irq();
}

+static void __init ccu9540_init_irq(void)
+{
+ prcmu_early_init(&db9540_tcdm_map);
+ ux500_init_irq();
+}
+
MACHINE_START(U8500, "ST-Ericsson MOP500 platform")
/* Maintainer: Srinidhi Kasagar <srinidhi.kasagar@xxxxxxxxxxxxxx> */
.atag_offset = 0x100,
@@ -763,7 +769,7 @@ MACHINE_START(U9540, "ST-Ericsson 9540 platform")
.atag_offset = 0x100,
.map_io = u8500_map_io,
.nr_irqs = UX500_NR_IRQS,
- .init_irq = mop500_init_irq,
+ .init_irq = ccu9540_init_irq,
.timer = &ux500_timer,
.handle_irq = gic_handle_irq,
.init_machine = u9540_init_machine,
--
1.7.11.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/