blob: f546e88ebc949db36a41672c9efffd9b13e85171 [file] [log] [blame]
Kukjin Kim3cd7b622011-09-10 10:09:21 +09001/* linux/arch/arm/plat-samsung/include/plat/exynos4.h
Kukjin Kim7d30e8b2011-02-14 16:33:10 +09002 *
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
15extern void exynos4_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
16extern void exynos4_register_clocks(void);
Kukjin Kim2bc02c02011-08-24 17:25:09 +090017extern void exynos4210_register_clocks(void);
18extern void exynos4212_register_clocks(void);
Kukjin Kim7d30e8b2011-02-14 16:33:10 +090019extern void exynos4_setup_clocks(void);
20
Kukjin Kim83014572011-11-06 13:54:56 +090021#ifdef CONFIG_ARCH_EXYNOS
22extern int exynos_init(void);
Kukjin Kim7d30e8b2011-02-14 16:33:10 +090023extern void exynos4_init_irq(void);
24extern void exynos4_map_io(void);
25extern void exynos4_init_clocks(int xtal);
26extern 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 Kim83014572011-11-06 13:54:56 +090034#define exynos_init NULL
Kukjin Kim7d30e8b2011-02-14 16:33:10 +090035#endif