Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[deliverable/linux.git] / arch / arm / mach-imx / mach-vf610.c
CommitLineData
5be913c6
JL
1/*
2 * Copyright 2012-2013 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */
9
10#include <linux/of_platform.h>
5be913c6 11#include <linux/irqchip.h>
5be913c6
JL
12#include <asm/mach/arch.h>
13#include <asm/hardware/cache-l2x0.h>
14
15#include "common.h"
16
17static void __init vf610_init_machine(void)
18{
19 mxc_arch_reset_init_dt();
20 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
21}
22
23static void __init vf610_init_irq(void)
24{
25 l2x0_of_init(0, ~0UL);
26 irqchip_init();
27}
28
df79bc9c 29static const char *vf610_dt_compat[] __initconst = {
5be913c6
JL
30 "fsl,vf610",
31 NULL,
32};
33
34DT_MACHINE_START(VYBRID_VF610, "Freescale Vybrid VF610 (Device Tree)")
35 .init_irq = vf610_init_irq,
5be913c6
JL
36 .init_machine = vf610_init_machine,
37 .dt_compat = vf610_dt_compat,
38 .restart = mxc_restart,
39MACHINE_END
This page took 0.200041 seconds and 5 git commands to generate.