ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / arm / mach-shark / core.c
1 /*
2  *  linux/arch/arm/mach-shark/arch.c
3  *
4  *  Architecture specific stuff.
5  */
6 #include <linux/kernel.h>
7 #include <linux/init.h>
8
9 #include <asm/setup.h>
10 #include <asm/mach-types.h>
11 #include <asm/io.h>
12
13 #include <asm/mach/map.h>
14 #include <asm/mach/arch.h>
15
16 extern void shark_init_irq(void);
17
18 static struct map_desc shark_io_desc[] __initdata = {
19         { IO_BASE       , IO_START      , IO_SIZE       , MT_DEVICE }
20 };
21
22 static void __init shark_map_io(void)
23 {
24         iotable_init(shark_io_desc, ARRAY_SIZE(shark_io_desc));
25 }
26
27 MACHINE_START(SHARK, "Shark")
28         MAINTAINER("Alexander Schulz")
29         BOOT_MEM(0x08000000, 0x40000000, 0xe0000000)
30         BOOT_PARAMS(0x08003000)
31         MAPIO(shark_map_io)
32         INITIRQ(shark_init_irq)
33 MACHINE_END