Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 1 | /* linux/arch/arm/plat-s3c24xx/s3c244x.h |
Ben Dooks | 96ce238 | 2006-06-18 23:06:41 +0100 | [diff] [blame] | 2 | * |
| 3 | * Copyright (c) 2004-2005 Simtec Electronics |
| 4 | * Ben Dooks <ben@simtec.co.uk> |
| 5 | * |
| 6 | * Header file for S3C2440 and S3C2442 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 | #if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442) |
| 14 | |
Ben Dooks | 74b265d | 2008-10-21 14:06:31 +0100 | [diff] [blame] | 15 | extern void s3c244x_map_io(void); |
Ben Dooks | 96ce238 | 2006-06-18 23:06:41 +0100 | [diff] [blame] | 16 | |
| 17 | extern void s3c244x_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
| 18 | |
| 19 | extern void s3c244x_init_clocks(int xtal); |
| 20 | |
| 21 | #else |
| 22 | #define s3c244x_init_clocks NULL |
| 23 | #define s3c244x_init_uarts NULL |
| 24 | #define s3c244x_map_io NULL |
| 25 | #endif |