Merge branch 'drm-patches' of master.kernel.org:/pub/scm/linux/kernel/git/airlied...
[linux-drm-fsl-dcu.git] / arch / arm / mach-ns9xxx / mach-cc9p9360dev.c
1 /*
2  * arch/arm/mach-ns9xxx/mach-cc9p9360dev.c
3  *
4  * Copyright (C) 2006 by Digi International Inc.
5  * All rights reserved.
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License version 2 as published by
9  * the Free Software Foundation.
10  */
11 #include <asm/mach/arch.h>
12 #include <asm/mach-types.h>
13
14 #include "board-a9m9750dev.h"
15 #include "generic.h"
16
17 static void __init mach_cc9p9360dev_map_io(void)
18 {
19         ns9xxx_map_io();
20         board_a9m9750dev_map_io();
21 }
22
23 static void __init mach_cc9p9360dev_init_irq(void)
24 {
25         ns9xxx_init_irq();
26         board_a9m9750dev_init_irq();
27 }
28
29 static void __init mach_cc9p9360dev_init_machine(void)
30 {
31         ns9xxx_init_machine();
32         board_a9m9750dev_init_machine();
33 }
34
35 MACHINE_START(CC9P9360DEV, "Digi ConnectCore 9P 9360 on an A9M9750 Devboard")
36         .map_io = mach_cc9p9360dev_map_io,
37         .init_irq = mach_cc9p9360dev_init_irq,
38         .init_machine = mach_cc9p9360dev_init_machine,
39         .timer = &ns9xxx_timer,
40         .boot_params = 0x100,
41 MACHINE_END