File: /usr/src/linux/arch/arm/mm/mm-tbox.c

1     /*
2      *  linux/arch/arm/mm/mm-tbox.c
3      *
4      *  Copyright (C) 1998, 1999, 2000 Phil Blundell
5      *  Copyright (C) 1998-1999 Russell King
6      *
7      *  Extra MM routines for the Tbox architecture
8      */
9     #include <linux/sched.h>
10     #include <linux/mm.h>
11     #include <linux/init.h>
12     
13     #include <asm/io.h>
14     #include <asm/pgtable.h>
15     #include <asm/page.h>
16     
17     #include <asm/mach/map.h>
18      
19     static struct map_desc tbox_io_desc[] __initdata = {
20     	/* See hardware.h for details */
21     	{ IO_BASE,	IO_START,	0x00100000, DOMAIN_IO, 0, 1, 0, 0 },
22     	LAST_DESC
23     };
24     
25     void __init tbox_map_io(void)
26     {
27     	iotable_init(tbox_io_desc);
28     }
29