2007-02-12 01:31:01 +08:00
|
|
|
/* linux/include/asm-arm/plat-s3c24xx/s3c2410.h
|
2005-04-17 06:20:36 +08:00
|
|
|
*
|
|
|
|
* 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);
|
2009-07-31 06:23:38 +08:00
|
|
|
extern int s3c2410a_init(void);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-10-21 21:06:31 +08:00
|
|
|
extern void s3c2410_map_io(void);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
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
|
2009-09-22 00:04:16 +08:00
|
|
|
#define s3c2410a_init NULL
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|
2008-08-09 04:34:10 +08:00
|
|
|
|
|
|
|
extern int s3c2410_baseclk_add(void);
|