Kukjin Kim | 5f7f6a4 | 2010-01-29 10:12:14 +0900 | [diff] [blame] | 1 | /* arch/arm/plat-s5p/include/plat/s5p6442.h |
| 2 | * |
| 3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
| 4 | * http://www.samsung.com/ |
| 5 | * |
| 6 | * Header file for s5p6442 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 S5P6442 related SoCs */ |
| 14 | |
| 15 | extern void s5p6442_common_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
| 16 | extern void s5p6442_register_clocks(void); |
| 17 | extern void s5p6442_setup_clocks(void); |
| 18 | |
| 19 | #ifdef CONFIG_CPU_S5P6442 |
| 20 | |
| 21 | extern int s5p6442_init(void); |
| 22 | extern void s5p6442_init_irq(void); |
| 23 | extern void s5p6442_map_io(void); |
| 24 | extern void s5p6442_init_clocks(int xtal); |
| 25 | |
| 26 | #define s5p6442_init_uarts s5p6442_common_init_uarts |
| 27 | |
| 28 | #else |
| 29 | #define s5p6442_init_clocks NULL |
| 30 | #define s5p6442_init_uarts NULL |
| 31 | #define s5p6442_map_io NULL |
| 32 | #define s5p6442_init NULL |
| 33 | #endif |