initial commit with v2.6.9
[linux-2.6.9-moxart.git] / arch / arm / mach-iop3xx / iop331-mm.c
blob8a43d4dc3d7bfd5d46208d3f74a97da70d2f2a6f
1 /*
2 * linux/arch/arm/mach-iop3xx/mm.c
4 * Low level memory initialization for IOP331 based systems
6 * Author: Dave Jiang <dave.jiang@intel.com>
7 * Copyright (C) 2003 Intel Corp.
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2 of the License, or (at your
12 * option) any later version.
16 #include <linux/mm.h>
17 #include <linux/init.h>
19 #include <asm/io.h>
20 #include <asm/pgtable.h>
21 #include <asm/page.h>
23 #include <asm/mach/map.h>
24 #include <asm/mach-types.h>
28 * Standard IO mapping for all IOP331 based systems
30 static struct map_desc iop331_std_desc[] __initdata = {
31 /* virtual physical length type */
33 /* mem mapped registers */
34 { IOP331_VIRT_MEM_BASE, IOP331_PHYS_MEM_BASE, 0x00002000, MT_DEVICE },
36 /* PCI IO space */
37 { 0xfe000000, 0x90000000, 0x00020000, MT_DEVICE }
40 void __init iop331_map_io(void)
42 iotable_init(iop331_std_desc, ARRAY_SIZE(iop331_std_desc));