viresh kumar | a7e9c45 | 2010-04-01 12:30:19 +0100 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/mach-spear3xx/generic.h |
| 3 | * |
| 4 | * SPEAr3XX machine family generic header file |
| 5 | * |
| 6 | * Copyright (C) 2009 ST Microelectronics |
| 7 | * Viresh Kumar<viresh.kumar@st.com> |
| 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 | |
Viresh Kumar | 0b7ee71 | 2012-03-26 10:29:23 +0530 | [diff] [blame] | 17 | #include <linux/amba/pl08x.h> |
viresh kumar | a7e9c45 | 2010-04-01 12:30:19 +0100 | [diff] [blame] | 18 | #include <linux/init.h> |
| 19 | #include <linux/platform_device.h> |
| 20 | #include <linux/amba/bus.h> |
viresh kumar | 410782b | 2011-03-07 05:57:01 +0100 | [diff] [blame] | 21 | #include <asm/mach/time.h> |
| 22 | #include <asm/mach/map.h> |
viresh kumar | a7e9c45 | 2010-04-01 12:30:19 +0100 | [diff] [blame] | 23 | |
viresh kumar | a7e9c45 | 2010-04-01 12:30:19 +0100 | [diff] [blame] | 24 | /* Add spear3xx family device structure declarations here */ |
Shiraz Hashim | 5c881d9 | 2011-02-16 07:40:32 +0100 | [diff] [blame] | 25 | extern struct sys_timer spear3xx_timer; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 26 | extern struct pl022_ssp_controller pl022_plat_data; |
Viresh Kumar | 0b7ee71 | 2012-03-26 10:29:23 +0530 | [diff] [blame] | 27 | extern struct pl08x_platform_data pl080_plat_data; |
viresh kumar | a7e9c45 | 2010-04-01 12:30:19 +0100 | [diff] [blame] | 28 | |
| 29 | /* Add spear3xx family function declarations here */ |
Viresh Kumar | 30551c0 | 2012-04-21 13:15:37 +0530 | [diff] [blame] | 30 | void __init spear_setup_of_timer(void); |
Viresh Kumar | 5df33a6 | 2012-04-10 09:02:35 +0530 | [diff] [blame] | 31 | void __init spear3xx_clk_init(void); |
viresh kumar | a7e9c45 | 2010-04-01 12:30:19 +0100 | [diff] [blame] | 32 | void __init spear3xx_map_io(void); |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 33 | void __init spear3xx_dt_init_irq(void); |
viresh kumar | a7e9c45 | 2010-04-01 12:30:19 +0100 | [diff] [blame] | 34 | |
Russell King | dd1661e | 2011-11-05 21:10:37 +0000 | [diff] [blame] | 35 | void spear_restart(char, const char *); |
| 36 | |
viresh kumar | a7e9c45 | 2010-04-01 12:30:19 +0100 | [diff] [blame] | 37 | #endif /* __MACH_GENERIC_H */ |