[PATCH 06/17] arm: ux500: Add u9540 PRCMU TCDM configuration
Loic Pallardy
loic.pallardy-ext at stericsson.com
Wed Sep 5 05:59:02 EDT 2012
u9540 dedicated prcmu configuration to use legacy driver
Signed-off-by: Loic Pallardy <loic.pallardy at stericsson.com>
Acked-by: Linus Walleij <linus.walleij at linaro.org>
---
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 at stericsson.com> */
.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
More information about the linux-arm-kernel
mailing list