]>
Commit | Line | Data |
---|---|---|
a7e9c452 VK |
1 | /* |
2 | * arch/arm/mach-spear3xx/generic.h | |
3 | * | |
4 | * SPEAr3XX machine family generic header file | |
5 | * | |
6 | * Copyright (C) 2009 ST Microelectronics | |
10d8935f | 7 | * Viresh Kumar<viresh.linux@gmail.com> |
a7e9c452 VK |
8 | * |
9 | * This file is licensed under the terms of the GNU General Public | |
10 | * License version 2. This program is licensed "as is" without any | |
11 | * warranty of any kind, whether express or implied. | |
12 | */ | |
13 | ||
14 | #ifndef __MACH_GENERIC_H | |
15 | #define __MACH_GENERIC_H | |
16 | ||
0b7ee717 | 17 | #include <linux/amba/pl08x.h> |
a7e9c452 VK |
18 | #include <linux/init.h> |
19 | #include <linux/platform_device.h> | |
20 | #include <linux/amba/bus.h> | |
410782be VK |
21 | #include <asm/mach/time.h> |
22 | #include <asm/mach/map.h> | |
a7e9c452 | 23 | |
a7e9c452 | 24 | /* Add spear3xx family device structure declarations here */ |
6bb27d73 | 25 | extern void spear3xx_timer_init(void); |
c5fa4fdc | 26 | extern struct pl022_ssp_controller pl022_plat_data; |
0b7ee717 | 27 | extern struct pl08x_platform_data pl080_plat_data; |
a7e9c452 VK |
28 | |
29 | /* Add spear3xx family function declarations here */ | |
30551c01 | 30 | void __init spear_setup_of_timer(void); |
5df33a62 | 31 | void __init spear3xx_clk_init(void); |
a7e9c452 | 32 | void __init spear3xx_map_io(void); |
c5fa4fdc | 33 | void __init spear3xx_dt_init_irq(void); |
a7e9c452 | 34 | |
dd1661e2 RK |
35 | void spear_restart(char, const char *); |
36 | ||
a7e9c452 | 37 | #endif /* __MACH_GENERIC_H */ |