s3c2410.h 782 字节
Newer Older
1
/* linux/include/asm-arm/plat-s3c24xx/s3c2410.h
L
Linus Torvalds 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
 *
 * Copyright (c) 2004 Simtec Electronics
 *	Ben Dooks <ben@simtec.co.uk>
 *
 * Header file for s3c2410 machine directory
 *
 * 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_S3C2410

extern  int s3c2410_init(void);
B
Ben Dooks 已提交
17
extern  int s3c2410a_init(void);
L
Linus Torvalds 已提交
18

19
extern void s3c2410_map_io(void);
L
Linus Torvalds 已提交
20 21 22 23 24 25 26 27 28 29 30

extern void s3c2410_init_uarts(struct s3c2410_uartcfg *cfg, int no);

extern void s3c2410_init_clocks(int xtal);

#else
#define s3c2410_init_clocks NULL
#define s3c2410_init_uarts NULL
#define s3c2410_map_io NULL
#define s3c2410_init NULL
#endif
31 32

extern int s3c2410_baseclk_add(void);