vserver 1.9.5.x5
[linux-2.6.git] / arch / arm / mach-s3c2410 / s3c2440.h
index bf49a66..29cb6df 100644 (file)
@@ -1,7 +1,7 @@
 /* arch/arm/mach-s3c2410/s3c2440.h
  *
- * Copyright (c) 2004 Simtec Electronics
- * Ben Dooks <ben@simtec.co.uk>
+ * Copyright (c) 2004-2005 Simtec Electronics
+ *     Ben Dooks <ben@simtec.co.uk>
  *
  * Header file for s3c2440 cpu support
  *
  * published by the Free Software Foundation.
  *
  * Modifications:
- *     24-Aug-2004 BJD  Start of S3C2440 CPU support
+ *     24-Aug-2004 BJD  Start of S3C2440 CPU support
+ *     04-Nov-2004 BJD  Added s3c2440_init_uarts()
+ *     04-Jan-2005 BJD  Moved uart init to cpu code
+ *     10-Jan-2005 BJD  Moved 2440 specific init here
+ *     14-Jan-2005 BJD  Split the clock initialisation code
 */
 
-extern void s3c2440_init_irq(void);
+#ifdef CONFIG_CPU_S3C2440
 
-extern void s3c2440_init_time(void);
+extern  int s3c2440_init(void);
+
+extern void s3c2440_map_io(struct map_desc *mach_desc, int size);
+
+extern void s3c2440_init_uarts(struct s3c2410_uartcfg *cfg, int no);
+
+extern void s3c2440_init_clocks(int xtal);
+
+#else
+#define s3c2440_init_clocks NULL
+#define s3c2440_init_uarts NULL
+#define s3c2440_map_io NULL
+#define s3c2440_init NULL
+#endif