2010-04-01 05:30:19 -06:00
|
|
|
/*
|
|
|
|
* arch/arm/mach-spear3xx/generic.h
|
|
|
|
*
|
|
|
|
* SPEAr3XX machine family generic header file
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 ST Microelectronics
|
2012-06-20 13:53:02 -06:00
|
|
|
* Viresh Kumar<viresh.linux@gmail.com>
|
2010-04-01 05:30:19 -06:00
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public
|
|
|
|
* License version 2. This program is licensed "as is" without any
|
|
|
|
* warranty of any kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MACH_GENERIC_H
|
|
|
|
#define __MACH_GENERIC_H
|
|
|
|
|
2012-03-25 22:59:23 -06:00
|
|
|
#include <linux/amba/pl08x.h>
|
2010-04-01 05:30:19 -06:00
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/platform_device.h>
|
|
|
|
#include <linux/amba/bus.h>
|
2011-03-06 21:57:01 -07:00
|
|
|
#include <asm/mach/time.h>
|
|
|
|
#include <asm/mach/map.h>
|
2010-04-01 05:30:19 -06:00
|
|
|
|
|
|
|
/* Add spear3xx family device structure declarations here */
|
2011-02-15 23:40:32 -07:00
|
|
|
extern struct sys_timer spear3xx_timer;
|
2012-03-22 12:47:43 -06:00
|
|
|
extern struct pl022_ssp_controller pl022_plat_data;
|
2012-03-25 22:59:23 -06:00
|
|
|
extern struct pl08x_platform_data pl080_plat_data;
|
2010-04-01 05:30:19 -06:00
|
|
|
|
|
|
|
/* Add spear3xx family function declarations here */
|
2012-04-21 01:45:37 -06:00
|
|
|
void __init spear_setup_of_timer(void);
|
2012-04-09 21:32:35 -06:00
|
|
|
void __init spear3xx_clk_init(void);
|
2010-04-01 05:30:19 -06:00
|
|
|
void __init spear3xx_map_io(void);
|
2012-03-22 12:47:43 -06:00
|
|
|
void __init spear3xx_dt_init_irq(void);
|
2010-04-01 05:30:19 -06:00
|
|
|
|
2011-11-05 15:10:37 -06:00
|
|
|
void spear_restart(char, const char *);
|
|
|
|
|
2010-04-01 05:30:19 -06:00
|
|
|
#endif /* __MACH_GENERIC_H */
|