import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / arm / mm / mm-l7200.c
1 /*
2  *  linux/arch/arm/mm/mm-lusl7200.c
3  *
4  *  Copyright (C) 2000 Steve Hill (sjhill@cotw.com)
5  *
6  *  Extra MM routines for L7200 architecture
7  */
8 #include <linux/init.h>
9
10 #include <asm/hardware.h>
11 #include <asm/page.h>
12 #include <asm/proc/domain.h>
13
14 #include <asm/mach/map.h>
15
16 static struct map_desc l7200_io_desc[] __initdata = {
17         { IO_BASE,      IO_START,       IO_SIZE,        DOMAIN_IO, 0, 1 ,0 ,0},
18         { IO_BASE_2,    IO_START_2,     IO_SIZE_2,      DOMAIN_IO, 0, 1 ,0 ,0},
19         { AUX_BASE,     AUX_START,      AUX_SIZE,       DOMAIN_IO, 0, 1 ,0 ,0},
20         { FLASH1_BASE,  FLASH1_START,   FLASH1_SIZE,    DOMAIN_IO, 0, 1 ,0 ,0},
21         { FLASH2_BASE,  FLASH2_START,   FLASH2_SIZE,    DOMAIN_IO, 0, 1 ,0 ,0},
22         LAST_DESC
23 };
24
25 void __init l7200_map_io(void)
26 {
27         iotable_init(l7200_io_desc);
28 }