Kukjin Kim | 7d30e8b | 2011-02-14 16:33:10 +0900 | [diff] [blame] | 1 | /* linux/arch/arm/plat-s5p/include/plat/exynos4.h |
| 2 | * |
| 3 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. |
| 4 | * http://www.samsung.com |
| 5 | * |
| 6 | * Header file for exynos4 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 EXYNOS4 related SoCs */ |
| 14 | |
| 15 | extern void exynos4_common_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
| 16 | extern void exynos4_register_clocks(void); |
| 17 | extern void exynos4_setup_clocks(void); |
| 18 | |
| 19 | #ifdef CONFIG_CPU_EXYNOS4210 |
| 20 | |
| 21 | extern int exynos4_init(void); |
| 22 | extern void exynos4_init_irq(void); |
| 23 | extern void exynos4_map_io(void); |
| 24 | extern void exynos4_init_clocks(int xtal); |
| 25 | extern struct sys_timer exynos4_timer; |
| 26 | |
| 27 | #define exynos4_init_uarts exynos4_common_init_uarts |
| 28 | |
| 29 | #else |
| 30 | #define exynos4_init_clocks NULL |
| 31 | #define exynos4_init_uarts NULL |
| 32 | #define exynos4_map_io NULL |
| 33 | #define exynos4_init NULL |
| 34 | #endif |