Ben Dooks | beda30f | 2008-10-21 14:06:49 +0100 | [diff] [blame] | 1 | /* arch/arm/plat-s3c64xx/include/plat/s3c6400.h |
| 2 | * |
| 3 | * Copyright 2008 Openmoko, Inc. |
| 4 | * Copyright 2008 Simtec Electronics |
| 5 | * Ben Dooks <ben@simtec.co.uk> |
| 6 | * http://armlinux.simtec.co.uk/ |
| 7 | * |
| 8 | * Header file for s3c6400 cpu support |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License version 2 as |
| 12 | * published by the Free Software Foundation. |
| 13 | */ |
| 14 | |
| 15 | /* Common init code for S3C6400 related SoCs */ |
| 16 | |
| 17 | extern void s3c6400_common_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
Ben Dooks | cf18acf | 2008-10-21 14:07:02 +0100 | [diff] [blame^] | 18 | extern void s3c6400_register_clocks(void); |
| 19 | extern void s3c6400_setup_clocks(void); |
Ben Dooks | beda30f | 2008-10-21 14:06:49 +0100 | [diff] [blame] | 20 | |
| 21 | #ifdef CONFIG_CPU_S3C6400 |
| 22 | |
| 23 | extern int s3c6400_init(void); |
| 24 | extern void s3c6400_map_io(void); |
| 25 | extern void s3c6400_init_clocks(int xtal); |
| 26 | |
| 27 | #define s3c6400_init_uarts s3c6400_common_init_uarts |
| 28 | |
| 29 | #else |
| 30 | #define s3c6400_init_clocks NULL |
| 31 | #define s3c6400_init_uarts NULL |
| 32 | #define s3c6400_map_io NULL |
| 33 | #define s3c6400_init NULL |
| 34 | #endif |
| 35 | |