1 /* arch/arm/mach-s3c2410/cpu.h
3 * Copyright (c) 2004 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * Header file for S3C24XX CPU support
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 * 24-Aug-2004 BJD Start of generic S3C24XX support
16 #define IODESC_ENT(x) { S3C2410_VA_##x, S3C2410_PA_##x, S3C2410_SZ_##x, MT_DEVICE }
19 #define MHZ (1000*1000)
22 #define print_mhz(m) ((m) / MHZ), ((m / 1000) % 1000)
24 #ifdef CONFIG_CPU_S3C2410
25 extern int s3c2410_init(void);
26 extern void s3c2410_map_io(struct map_desc *mach_desc, int size);
28 #define s3c2410_map_io NULL
29 #define s3c2410_init NULL
32 #ifdef CONFIG_CPU_S3C2440
33 extern int s3c2440_init(void);
34 extern void s3c2440_map_io(struct map_desc *mach_desc, int size);
36 #define s3c2440_map_io NULL
37 #define s3c2440_init NULL
40 extern void s3c24xx_init_io(struct map_desc *mach_desc, int size);