Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 1 | /* linux/include/asm-arm/plat-s3c24xx/s3c2412.h |
Ben Dooks | 68d9ab3 | 2006-06-24 21:21:27 +0100 | [diff] [blame] | 2 | * |
| 3 | * Copyright (c) 2006 Simtec Electronics |
| 4 | * Ben Dooks <ben@simtec.co.uk> |
| 5 | * |
| 6 | * Header file for s3c2412 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 | #ifdef CONFIG_CPU_S3C2412 |
| 14 | |
| 15 | extern int s3c2412_init(void); |
| 16 | |
| 17 | extern void s3c2412_map_io(struct map_desc *mach_desc, int size); |
| 18 | |
| 19 | extern void s3c2412_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
| 20 | |
| 21 | extern void s3c2412_init_clocks(int xtal); |
| 22 | |
| 23 | extern int s3c2412_baseclk_add(void); |
| 24 | #else |
| 25 | #define s3c2412_init_clocks NULL |
| 26 | #define s3c2412_init_uarts NULL |
| 27 | #define s3c2412_map_io NULL |
| 28 | #define s3c2412_init NULL |
| 29 | #endif |