1 /*
2  *  linux/arch/arm/mm/mm-cl7500.c
3  *
4  *  Copyright (C) 1998 Russell King
5  *  Copyright (C) 1999 Nexus Electronics Ltd
6  *
7  * Extra MM routines for CL7500 architecture
8  */
9 #include <linux/types.h>
10 #include <linux/init.h>
11 
12 #include <asm/hardware.h>
13 #include <asm/page.h>
14 #include <asm/proc/domain.h>
15 #include <asm/setup.h>
16 
17 #include <asm/mach/map.h>
18 
19 static struct map_desc cl7500_io_desc[] __initdata = {
20 	{ IO_BASE,	IO_START,	IO_SIZE	 , DOMAIN_IO, 0, 1 },	/* IO space	*/
21 	{ ISA_BASE,	ISA_START,	ISA_SIZE , DOMAIN_IO, 0, 1 },	/* ISA space	*/
22 	{ FLASH_BASE,	FLASH_START,	FLASH_SIZE, DOMAIN_IO, 0, 1 },	/* Flash	*/
23 	{ LED_BASE,	LED_START,	LED_SIZE , DOMAIN_IO, 0, 1 },	/* LED		*/
24 	LAST_DESC
25 };
26 
clps7500_map_io(void)27 void __init clps7500_map_io(void)
28 {
29 	iotable_init(cl7500_io_desc);
30 }
31