Commit | Line | Data |
---|---|---|
9918cda5 UKK |
1 | /* |
2 | * arch/arm/mach-ns9xxx/mach-cc9p9360dev.c | |
3 | * | |
724ce5ee | 4 | * Copyright (C) 2006,2007 by Digi International Inc. |
9918cda5 UKK |
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 | ||
a09e64fb | 14 | #include <mach/processor-ns9360.h> |
724ce5ee | 15 | |
9918cda5 UKK |
16 | #include "board-a9m9750dev.h" |
17 | #include "generic.h" | |
18 | ||
19 | static void __init mach_cc9p9360dev_map_io(void) | |
20 | { | |
724ce5ee | 21 | ns9360_map_io(); |
9918cda5 UKK |
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 | ||
ce2b5ec3 | 37 | MACHINE_START(CC9P9360DEV, "Digi ConnectCore 9P 9360 on an A9M9750 Devboard") |
9918cda5 UKK |
38 | .map_io = mach_cc9p9360dev_map_io, |
39 | .init_irq = mach_cc9p9360dev_init_irq, | |
40 | .init_machine = mach_cc9p9360dev_init_machine, | |
724ce5ee | 41 | .timer = &ns9360_timer, |
9918cda5 UKK |
42 | .boot_params = 0x100, |
43 | MACHINE_END |