mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 17:21:49 +00:00
a21765a70e
The following patch and script moves the arch/arm/mach-s3c2410 directory into arch/arm/plat-s3c24xx for the generic core code and inti arch/arm/mach-s3c{cpu} for the cpu/machine support files Include directory include/asm-arm/plat-s3c24xx is added for the core include files. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
26 lines
721 B
C
26 lines
721 B
C
/* linux/arch/arm/plat-s3c24xx/s3c244x.h
|
|
*
|
|
* Copyright (c) 2004-2005 Simtec Electronics
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
*
|
|
* Header file for S3C2440 and S3C2442 cpu support
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442)
|
|
|
|
extern void s3c244x_map_io(struct map_desc *mach_desc, int size);
|
|
|
|
extern void s3c244x_init_uarts(struct s3c2410_uartcfg *cfg, int no);
|
|
|
|
extern void s3c244x_init_clocks(int xtal);
|
|
|
|
#else
|
|
#define s3c244x_init_clocks NULL
|
|
#define s3c244x_init_uarts NULL
|
|
#define s3c244x_map_io NULL
|
|
#endif
|