Merge branch 'v6v7' into devel
[linux/fpc-iii.git] / arch / arm / plat-s3c24xx / include / plat / s3c244x.h
blob89e8d0a25f87454c6672429bd793557acda0fe74
1 /* linux/arch/arm/plat-s3c24xx/include/plat/s3c244x.h
3 * Copyright (c) 2004-2005 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * Header file for S3C2440 and S3C2442 cpu support
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.
13 #if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442)
15 extern void s3c244x_map_io(void);
17 extern void s3c244x_init_uarts(struct s3c2410_uartcfg *cfg, int no);
19 extern void s3c244x_init_clocks(int xtal);
21 #else
22 #define s3c244x_init_clocks NULL
23 #define s3c244x_init_uarts NULL
24 #endif
26 #ifdef CONFIG_CPU_S3C2440
27 extern int s3c2440_init(void);
29 extern void s3c2440_map_io(void);
30 #else
31 #define s3c2440_init NULL
32 #define s3c2440_map_io NULL
33 #endif
35 #ifdef CONFIG_CPU_S3C2442
36 extern int s3c2442_init(void);
38 extern void s3c2442_map_io(void);
39 #else
40 #define s3c2442_init NULL
41 #define s3c2442_map_io NULL
42 #endif