MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / arch / arm / mach-s3c24a0 / generic.c
blobec421ca9e53ab6253edde881b9b2333760cb9e38
1 /*
2 * /arch/arm/mach-s3c24a0/generic.c
4 * $Id: generic.c,v 1.3 2006/12/12 13:38:48 gerg Exp $
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #include <linux/init.h>
12 #include <linux/kernel.h>
13 #include <linux/sched.h>
14 #include <linux/tty.h>
15 #include <linux/module.h>
16 #include <linux/errno.h>
17 #include <linux/serial_core.h>
19 #include <asm/hardware.h>
20 #include <asm/setup.h>
21 #include <asm/page.h>
22 #include <asm/pgtable.h>
24 #include <asm/mach/arch.h>
25 #include <asm/mach/map.h>
28 * Common I/O mapping:
30 * 0x4000.0000 ~ 0x4Aff.fffff
31 (0xe000.0000 ~ 0xeAff.fffff) GPIO
33 static struct map_desc standard_io_desc[] __initdata = {
34 /* virtual physical length */
35 { 0xe0000000, 0x40000000, 0x10000000, MT_DEVICE},
38 void __init elfin_map_io(void)
40 iotable_init(standard_io_desc, ARRAY_SIZE(standard_io_desc));