Kukjin Kim | 3cd7b62 | 2011-09-10 10:09:21 +0900 | [diff] [blame] | 1 | /* linux/arch/arm/plat-samsung/include/plat/s3c2416.h |
Yauhen Kharuzhy | f1290a4 | 2010-04-28 18:09:01 +0900 | [diff] [blame] | 2 | * |
| 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 | |
| 14 | struct s3c2410_uartcfg; |
| 15 | |
| 16 | extern int s3c2416_init(void); |
| 17 | |
| 18 | extern void s3c2416_map_io(void); |
| 19 | |
| 20 | extern void s3c2416_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
| 21 | |
| 22 | extern void s3c2416_init_clocks(int xtal); |
| 23 | |
| 24 | extern int s3c2416_baseclk_add(void); |
| 25 | |
Heiko Stuebner | 5753897 | 2011-12-22 23:37:44 +0100 | [diff] [blame] | 26 | extern void s3c2416_restart(char mode, const char *cmd); |
Yauhen Kharuzhy | f1290a4 | 2010-04-28 18:09:01 +0900 | [diff] [blame] | 27 | #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 Stuebner | 5753897 | 2011-12-22 23:37:44 +0100 | [diff] [blame] | 32 | #define s3c2416_restart NULL |
Yauhen Kharuzhy | f1290a4 | 2010-04-28 18:09:01 +0900 | [diff] [blame] | 33 | #endif |