upload tizen1.0 source
[kernel/linux-2.6.36.git] / arch / arm / plat-s5p / include / plat / s5pv310.h
1 /* linux/arch/arm/plat-s5p/include/plat/s5pv310.h
2  *
3  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4  *              http://www.samsung.com/
5  *
6  * Header file for s5pv310 cpu support
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation.
11 */
12
13 /* Common init code for S5PV310 related SoCs */
14
15 struct s3c2410_uartcfg;
16
17 extern void s5pv310_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
18 extern void s5pv310_register_clocks(void);
19 extern void s5pv310_setup_clocks(void);
20 extern int s5pv310_subrev(void);
21 extern int s5pv310_get_max_speed(void);
22
23 #ifdef CONFIG_CPU_S5PV310
24
25 extern  int s5pv310_init(void);
26 extern void s5pv310_init_irq(void);
27 extern void s5pv310_map_io_evt0(void);
28 extern void s5pv310_map_io_evt1(void);
29 extern void s5pv310_init_clocks(int xtal);
30 extern struct sys_timer s5pv310_timer;
31 extern struct sys_timer s5pv310_evt0_timer;
32
33
34 #define s5pv310_init_uarts s5pv310_common_init_uarts
35
36 #else
37 #define s5pv310_init_clocks NULL
38 #define s5pv310_init_uarts NULL
39 #define s5pv310_map_io_evt0 NULL
40 #define s5pv310_map_io_evt1 NULL
41 #define s5pv310_init NULL
42 #endif