Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / arm / mach-s3c64xx / include / mach / s3c6400.h
blobf86958d05352a0c9340288b6159884a59d750d00
1 /* arch/arm/mach-s3c64xx/include/macht/s3c6400.h
3 * Copyright 2008 Openmoko, Inc.
4 * Copyright 2008 Simtec Electronics
5 * Ben Dooks <ben@simtec.co.uk>
6 * http://armlinux.simtec.co.uk/
8 * Header file for s3c6400 cpu support
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.
15 /* Common init code for S3C6400 related SoCs */
17 extern void s3c6400_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
18 extern void s3c6400_setup_clocks(void);
20 extern void s3c64xx_register_clocks(unsigned long xtal, unsigned armclk_limit);
22 #ifdef CONFIG_CPU_S3C6400
24 extern int s3c6400_init(void);
25 extern void s3c6400_init_irq(void);
26 extern void s3c6400_map_io(void);
27 extern void s3c6400_init_clocks(int xtal);
29 #define s3c6400_init_uarts s3c6400_common_init_uarts
31 #else
32 #define s3c6400_init_clocks NULL
33 #define s3c6400_init_uarts NULL
34 #define s3c6400_map_io NULL
35 #define s3c6400_init NULL
36 #endif