summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-04-28 15:48:14 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-05-30 00:49:28 +0100
commitb9f71aad7cdb826246d4d6e5bd7ff99ffc4f3278 (patch)
tree4e95a25e2a7367c17eea308e74386deef36ef0dd /arch/arm
parentf5a5f430d9ae1c118b16d0ae9c74109eb622f7df (diff)
downloadop-kernel-dev-b9f71aad7cdb826246d4d6e5bd7ff99ffc4f3278.zip
op-kernel-dev-b9f71aad7cdb826246d4d6e5bd7ff99ffc4f3278.tar.gz
ARM: l2c: imx vf610: convert to generic l2c OF initialisation
Remove the explicit call to l2x0_of_init(), converting to the generic infrastructure instead. Since the .init_irq method only calls irqchip_init(), we can remove that too as the generic code will take care of that. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/mach-vf610.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-imx/mach-vf610.c b/arch/arm/mach-imx/mach-vf610.c
index 6288a96..c446027 100644
--- a/arch/arm/mach-imx/mach-vf610.c
+++ b/arch/arm/mach-imx/mach-vf610.c
@@ -20,19 +20,14 @@ static void __init vf610_init_machine(void)
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
-static void __init vf610_init_irq(void)
-{
- l2x0_of_init(0, ~0);
- irqchip_init();
-}
-
static const char *vf610_dt_compat[] __initconst = {
"fsl,vf610",
NULL,
};
DT_MACHINE_START(VYBRID_VF610, "Freescale Vybrid VF610 (Device Tree)")
- .init_irq = vf610_init_irq,
+ .l2c_aux_val = 0,
+ .l2c_aux_mask = ~0,
.init_machine = vf610_init_machine,
.dt_compat = vf610_dt_compat,
.restart = mxc_restart,
OpenPOWER on IntegriCloud