blob: 528585d2cafcef8a0bae0926fd2318ede7d4a474 [file] [log] [blame]
Kukjin Kim209fecd2010-01-14 15:29:17 +09001/* arch/arm/plat-s5p/include/plat/s5p6440.h
2 *
3 * Copyright (c) 2009 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/
5 *
6 * Header file for s5p6440 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 S5P6440 related SoCs */
14
Kukjin Kim209fecd2010-01-14 15:29:17 +090015extern void s5p6440_register_clocks(void);
16extern void s5p6440_setup_clocks(void);
17
18#ifdef CONFIG_CPU_S5P6440
19
Kukjin Kima2e0d622010-10-18 18:29:51 +090020extern int s5p64x0_init(void);
Kukjin Kim209fecd2010-01-14 15:29:17 +090021extern void s5p6440_init_irq(void);
22extern void s5p6440_map_io(void);
23extern void s5p6440_init_clocks(int xtal);
24
Kukjin Kima2e0d622010-10-18 18:29:51 +090025extern void s5p6440_init_uarts(struct s3c2410_uartcfg *cfg, int no);
Kukjin Kim209fecd2010-01-14 15:29:17 +090026
27#else
28#define s5p6440_init_clocks NULL
29#define s5p6440_init_uarts NULL
30#define s5p6440_map_io NULL
Kukjin Kima2e0d622010-10-18 18:29:51 +090031#define s5p64x0_init NULL
Kukjin Kim209fecd2010-01-14 15:29:17 +090032#endif
33
34/* S5P6440 timer */
35
36extern struct sys_timer s5p6440_timer;