mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08: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>
30 lines
772 B
C
30 lines
772 B
C
/* linux/include/asm-arm/plat-s3c24xx/s3c2412.h
|
|
*
|
|
* Copyright (c) 2006 Simtec Electronics
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
*
|
|
* Header file for s3c2412 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.
|
|
*/
|
|
|
|
#ifdef CONFIG_CPU_S3C2412
|
|
|
|
extern int s3c2412_init(void);
|
|
|
|
extern void s3c2412_map_io(struct map_desc *mach_desc, int size);
|
|
|
|
extern void s3c2412_init_uarts(struct s3c2410_uartcfg *cfg, int no);
|
|
|
|
extern void s3c2412_init_clocks(int xtal);
|
|
|
|
extern int s3c2412_baseclk_add(void);
|
|
#else
|
|
#define s3c2412_init_clocks NULL
|
|
#define s3c2412_init_uarts NULL
|
|
#define s3c2412_map_io NULL
|
|
#define s3c2412_init NULL
|
|
#endif
|