import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / arm / mach-mx1ads / arch.c
1 /*
2  *  linux/arch/arm/mach-mx1ads/arch.c
3  *
4  *  Copyright (C) 2000 Deep Blue Solutions Ltd
5  *  Copyright (C) 2002 Shane Nay (shane@minirl.com)
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 as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  */
21 #include <linux/config.h>
22 #include <linux/types.h>
23 #include <linux/sched.h>
24 #include <linux/interrupt.h>
25 #include <linux/init.h>
26
27 #include <asm/hardware.h>
28 #include <asm/irq.h>
29 #include <asm/setup.h>
30 #include <asm/mach-types.h>
31
32 #include <asm/mach/arch.h>
33 #include <asm/mach/amba_kmi.h>
34
35 extern void mx1ads_map_io(void);
36 extern void mx1ads_init_irq(void);
37
38
39 static void __init
40 mx1ads_fixup(struct machine_desc *desc, struct param_struct *unused,
41                  char **cmdline, struct meminfo *mi)
42 {
43 }
44
45 MACHINE_START(MX1ADS, "Motorola MX1ADS")
46         MAINTAINER("Shane Nay")
47 #ifdef CONFIG_ARCH_MX1ADS_SRAM
48         BOOT_MEM(0x12000000, 0x00200000, 0xf0200000)
49 #else
50         BOOT_MEM(0x08000000, 0x00200000, 0xf0200000)
51 #endif
52         FIXUP(mx1ads_fixup)
53         MAPIO(mx1ads_map_io)
54         INITIRQ(mx1ads_init_irq)
55 MACHINE_END
56
57 #if 0
58
59 #endif