Marek Szyprowski | acc8470 | 2010-05-20 07:51:08 +0200 | [diff] [blame] | 1 | /* arch/arm/plat-s5p/include/plat/s5pc100.h |
| 2 | * |
| 3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
| 4 | * http://www.samsung.com/ |
| 5 | * |
| 6 | * Header file for s5pc100 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 S5PC100 related SoCs */ |
| 14 | |
| 15 | extern void s5pc100_common_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
| 16 | extern void s5pc100_register_clocks(void); |
| 17 | extern void s5pc100_setup_clocks(void); |
| 18 | |
| 19 | #ifdef CONFIG_CPU_S5PC100 |
| 20 | |
| 21 | extern int s5pc100_init(void); |
| 22 | extern void s5pc100_init_irq(void); |
| 23 | extern void s5pc100_map_io(void); |
| 24 | extern void s5pc100_init_clocks(int xtal); |
| 25 | |
| 26 | #define s5pc100_init_uarts s5pc100_common_init_uarts |
| 27 | |
| 28 | #else |
| 29 | #define s5pc100_init_clocks NULL |
| 30 | #define s5pc100_init_uarts NULL |
| 31 | #define s5pc100_map_io NULL |
| 32 | #define s5pc100_init NULL |
| 33 | #endif |