diff options
Diffstat (limited to 'arch/arm/mach-sa1100/nanoengine.c')
-rw-r--r-- | arch/arm/mach-sa1100/nanoengine.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/arch/arm/mach-sa1100/nanoengine.c b/arch/arm/mach-sa1100/nanoengine.c index 85f6ee672225..8f6446b9f025 100644 --- a/arch/arm/mach-sa1100/nanoengine.c +++ b/arch/arm/mach-sa1100/nanoengine.c | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | #include <mach/hardware.h> | 29 | #include <mach/hardware.h> |
30 | #include <mach/nanoengine.h> | 30 | #include <mach/nanoengine.h> |
31 | #include <mach/irqs.h> | ||
31 | 32 | ||
32 | #include "generic.h" | 33 | #include "generic.h" |
33 | 34 | ||
@@ -58,15 +59,8 @@ static struct flash_platform_data nanoengine_flash_data = { | |||
58 | }; | 59 | }; |
59 | 60 | ||
60 | static struct resource nanoengine_flash_resources[] = { | 61 | static struct resource nanoengine_flash_resources[] = { |
61 | { | 62 | DEFINE_RES_MEM(SA1100_CS0_PHYS, SZ_32M), |
62 | .start = SA1100_CS0_PHYS, | 63 | DEFINE_RES_MEM(SA1100_CS1_PHYS, SZ_32M), |
63 | .end = SA1100_CS0_PHYS + SZ_32M - 1, | ||
64 | .flags = IORESOURCE_MEM, | ||
65 | }, { | ||
66 | .start = SA1100_CS1_PHYS, | ||
67 | .end = SA1100_CS1_PHYS + SZ_32M - 1, | ||
68 | .flags = IORESOURCE_MEM, | ||
69 | } | ||
70 | }; | 64 | }; |
71 | 65 | ||
72 | static struct map_desc nanoengine_io_desc[] __initdata = { | 66 | static struct map_desc nanoengine_io_desc[] __initdata = { |
@@ -114,6 +108,7 @@ static void __init nanoengine_init(void) | |||
114 | MACHINE_START(NANOENGINE, "BSE nanoEngine") | 108 | MACHINE_START(NANOENGINE, "BSE nanoEngine") |
115 | .atag_offset = 0x100, | 109 | .atag_offset = 0x100, |
116 | .map_io = nanoengine_map_io, | 110 | .map_io = nanoengine_map_io, |
111 | .nr_irqs = SA1100_NR_IRQS, | ||
117 | .init_irq = sa1100_init_irq, | 112 | .init_irq = sa1100_init_irq, |
118 | .timer = &sa1100_timer, | 113 | .timer = &sa1100_timer, |
119 | .init_machine = nanoengine_init, | 114 | .init_machine = nanoengine_init, |