vserver 1.9.3
[linux-2.6.git] / arch / arm / mach-iop3xx / arch.c
1 /*
2  * linux/arch/arm/mach-iop3xx/arch.c
3  *
4  * Author: Nicolas Pitre <nico@cam.org>
5  * Copyright (C) 2001 MontaVista Software, Inc.
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  *
11  */
12 #include <linux/config.h>
13 #include <linux/init.h>
14 #include <linux/major.h>
15 #include <linux/fs.h>
16
17 #include <asm/setup.h>
18 #include <asm/system.h>
19 #include <asm/memory.h>
20 #include <asm/hardware.h>
21 #include <asm/mach-types.h>
22 #include <asm/mach/arch.h>
23
24 #ifdef CONFIG_ARCH_IQ80331
25 extern void iq80331_map_io(void);
26 extern void iop331_init_irq(void);
27 extern void iop331_init_time(void);
28 #endif
29
30 #ifdef CONFIG_ARCH_IQ80331
31 static void __init
32 fixup_iop331(struct machine_desc *desc, struct tag *tags,
33               char **cmdline, struct meminfo *mi)
34 {
35 }
36 #endif
37
38 #if defined(CONFIG_ARCH_IQ80331)
39 MACHINE_START(IQ80331, "Intel IQ80331")
40         MAINTAINER("Intel Corp.")
41         BOOT_MEM(PHYS_OFFSET, 0xfff01000, 0xfffff000) // virtual, physical
42 //      BOOT_MEM(PHYS_OFFSET, IQ80331_UART0_VIRT, IQ80331_UART0_PHYS)
43         MAPIO(iq80331_map_io)
44         INITIRQ(iop331_init_irq)
45         INITTIME(iop331_init_time)
46         BOOT_PARAMS(0x0100)
47 MACHINE_END
48 #else
49 #error No machine descriptor defined for this IOP3xx implementation
50 #endif