diff options
Diffstat (limited to 'arch/arm/mach-sa1100/hackkit.c')
-rw-r--r-- | arch/arm/mach-sa1100/hackkit.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/arm/mach-sa1100/hackkit.c b/arch/arm/mach-sa1100/hackkit.c index c01bb36db940..5535475bf583 100644 --- a/arch/arm/mach-sa1100/hackkit.c +++ b/arch/arm/mach-sa1100/hackkit.c | |||
@@ -22,12 +22,10 @@ | |||
22 | #include <linux/mtd/mtd.h> | 22 | #include <linux/mtd/mtd.h> |
23 | #include <linux/mtd/partitions.h> | 23 | #include <linux/mtd/partitions.h> |
24 | 24 | ||
25 | #include <mach/hardware.h> | ||
26 | #include <asm/mach-types.h> | 25 | #include <asm/mach-types.h> |
27 | #include <asm/setup.h> | 26 | #include <asm/setup.h> |
28 | #include <asm/page.h> | 27 | #include <asm/page.h> |
29 | #include <asm/pgtable.h> | 28 | #include <asm/pgtable.h> |
30 | #include <asm/irq.h> | ||
31 | 29 | ||
32 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
33 | #include <asm/mach/flash.h> | 31 | #include <asm/mach/flash.h> |
@@ -35,6 +33,9 @@ | |||
35 | #include <asm/mach/irq.h> | 33 | #include <asm/mach/irq.h> |
36 | #include <asm/mach/serial_sa1100.h> | 34 | #include <asm/mach/serial_sa1100.h> |
37 | 35 | ||
36 | #include <mach/hardware.h> | ||
37 | #include <mach/irqs.h> | ||
38 | |||
38 | #include "generic.h" | 39 | #include "generic.h" |
39 | 40 | ||
40 | /********************************************************************** | 41 | /********************************************************************** |
@@ -179,11 +180,8 @@ static struct flash_platform_data hackkit_flash_data = { | |||
179 | .nr_parts = ARRAY_SIZE(hackkit_partitions), | 180 | .nr_parts = ARRAY_SIZE(hackkit_partitions), |
180 | }; | 181 | }; |
181 | 182 | ||
182 | static struct resource hackkit_flash_resource = { | 183 | static struct resource hackkit_flash_resource = |
183 | .start = SA1100_CS0_PHYS, | 184 | DEFINE_RES_MEM(SA1100_CS0_PHYS, SZ_32M); |
184 | .end = SA1100_CS0_PHYS + SZ_32M, | ||
185 | .flags = IORESOURCE_MEM, | ||
186 | }; | ||
187 | 185 | ||
188 | static void __init hackkit_init(void) | 186 | static void __init hackkit_init(void) |
189 | { | 187 | { |
@@ -197,6 +195,7 @@ static void __init hackkit_init(void) | |||
197 | MACHINE_START(HACKKIT, "HackKit Cpu Board") | 195 | MACHINE_START(HACKKIT, "HackKit Cpu Board") |
198 | .atag_offset = 0x100, | 196 | .atag_offset = 0x100, |
199 | .map_io = hackkit_map_io, | 197 | .map_io = hackkit_map_io, |
198 | .nr_irqs = SA1100_NR_IRQS, | ||
200 | .init_irq = sa1100_init_irq, | 199 | .init_irq = sa1100_init_irq, |
201 | .timer = &sa1100_timer, | 200 | .timer = &sa1100_timer, |
202 | .init_machine = hackkit_init, | 201 | .init_machine = hackkit_init, |