blob: de2b5bdc5ebd860a3e65020c6c63dfc75fb97dbb [file] [log] [blame]
Kukjin Kim3cd7b622011-09-10 10:09:21 +09001/* linux/arch/arm/plat-samsung/include/plat/s3c2416.h
Yauhen Kharuzhyf1290a42010-04-28 18:09:01 +09002 *
3 * Copyright (c) 2009 Yauhen Kharuzhy <jekhor@gmail.com>
4 *
5 * Header file for s3c2416 cpu support
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/
11
12#ifdef CONFIG_CPU_S3C2416
13
14struct s3c2410_uartcfg;
15
16extern int s3c2416_init(void);
17
18extern void s3c2416_map_io(void);
19
20extern void s3c2416_init_uarts(struct s3c2410_uartcfg *cfg, int no);
21
22extern void s3c2416_init_clocks(int xtal);
23
24extern int s3c2416_baseclk_add(void);
25
Heiko Stuebner57538972011-12-22 23:37:44 +010026extern void s3c2416_restart(char mode, const char *cmd);
Yauhen Kharuzhyf1290a42010-04-28 18:09:01 +090027#else
28#define s3c2416_init_clocks NULL
29#define s3c2416_init_uarts NULL
30#define s3c2416_map_io NULL
31#define s3c2416_init NULL
Heiko Stuebner57538972011-12-22 23:37:44 +010032#define s3c2416_restart NULL
Yauhen Kharuzhyf1290a42010-04-28 18:09:01 +090033#endif