1 /*
2 * linux/arch/arm/mach-anakin/mm.c
3 *
4 * Copyright (C) 2001 Aleph One Ltd. for Acunia N.V.
5 *
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 *
10 * Changelog:
11 * 09-Apr-2001 W/TTC Created
12 */
13
14 #include <linux/mm.h>
15 #include <linux/init.h>
16
17 #include <asm/io.h>
18 #include <asm/pgtable.h>
19 #include <asm/mach/map.h>
20
21 static struct map_desc anakin_io_desc[] __initdata = {
22 { IO_BASE, IO_START, IO_SIZE, DOMAIN_IO, 0, 1, 0, 0 },
23 { FLASH_BASE, FLASH_START, FLASH_SIZE, DOMAIN_IO, 1, 1, 0, 0 },
24 { VGA_BASE, VGA_START, VGA_SIZE, DOMAIN_IO, 0, 1, 0, 0 },
25 LAST_DESC
26 };
27
28 void __init
anakin_map_io(void)29 anakin_map_io(void)
30 {
31 iotable_init(anakin_io_desc);
32 }
33