Kukjin Kim | 3cd7b62 | 2011-09-10 10:09:21 +0900 | [diff] [blame] | 1 | /* linux/arch/arm/plat-samsung/include/plat/exynos4.h |
Kukjin Kim | 7d30e8b | 2011-02-14 16:33:10 +0900 | [diff] [blame] | 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); |
Kukjin Kim | 2bc02c0 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 17 | extern void exynos4210_register_clocks(void); |
| 18 | extern void exynos4212_register_clocks(void); |
Kukjin Kim | 7d30e8b | 2011-02-14 16:33:10 +0900 | [diff] [blame] | 19 | extern void exynos4_setup_clocks(void); |
| 20 | |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame^] | 21 | #ifdef CONFIG_ARCH_EXYNOS |
| 22 | extern int exynos_init(void); |
Kukjin Kim | 7d30e8b | 2011-02-14 16:33:10 +0900 | [diff] [blame] | 23 | extern void exynos4_init_irq(void); |
| 24 | extern void exynos4_map_io(void); |
| 25 | extern void exynos4_init_clocks(int xtal); |
| 26 | extern struct sys_timer exynos4_timer; |
| 27 | |
| 28 | #define exynos4_init_uarts exynos4_common_init_uarts |
| 29 | |
| 30 | #else |
| 31 | #define exynos4_init_clocks NULL |
| 32 | #define exynos4_init_uarts NULL |
| 33 | #define exynos4_map_io NULL |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame^] | 34 | #define exynos_init NULL |
Kukjin Kim | 7d30e8b | 2011-02-14 16:33:10 +0900 | [diff] [blame] | 35 | #endif |