Merge commit 'v2.6.27-rc8' into x86/setup
[linux-2.6] / arch / arm / mach-ns9xxx / mach-cc9p9360dev.c
1 /*
2  * arch/arm/mach-ns9xxx/mach-cc9p9360dev.c
3  *
4  * Copyright (C) 2006,2007 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 <mach/processor-ns9360.h>
15
16 #include "board-a9m9750dev.h"
17 #include "generic.h"
18
19 static void __init mach_cc9p9360dev_map_io(void)
20 {
21         ns9360_map_io();
22         board_a9m9750dev_map_io();
23 }
24
25 static void __init mach_cc9p9360dev_init_irq(void)
26 {
27         ns9xxx_init_irq();
28         board_a9m9750dev_init_irq();
29 }
30
31 static void __init mach_cc9p9360dev_init_machine(void)
32 {
33         ns9xxx_init_machine();
34         board_a9m9750dev_init_machine();
35 }
36
37 MACHINE_START(CC9P9360DEV, "Digi ConnectCore 9P 9360 on an A9M9750 Devboard")
38         .map_io = mach_cc9p9360dev_map_io,
39         .init_irq = mach_cc9p9360dev_init_irq,
40         .init_machine = mach_cc9p9360dev_init_machine,
41         .timer = &ns9360_timer,
42         .boot_params = 0x100,
43 MACHINE_END