diff options
Diffstat (limited to 'arch/arm/mach-shark/core.c')
-rw-r--r-- | arch/arm/mach-shark/core.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-shark/core.c b/arch/arm/mach-shark/core.c index 2704bcd869cd..d35b94ef73b7 100644 --- a/arch/arm/mach-shark/core.c +++ b/arch/arm/mach-shark/core.c | |||
@@ -21,9 +21,6 @@ | |||
21 | #include <asm/mach/arch.h> | 21 | #include <asm/mach/arch.h> |
22 | #include <asm/mach/time.h> | 22 | #include <asm/mach/time.h> |
23 | 23 | ||
24 | #define IO_BASE 0xe0000000 | ||
25 | #define IO_SIZE 0x08000000 | ||
26 | #define IO_START 0x40000000 | ||
27 | #define ROMCARD_SIZE 0x08000000 | 24 | #define ROMCARD_SIZE 0x08000000 |
28 | #define ROMCARD_START 0x10000000 | 25 | #define ROMCARD_START 0x10000000 |
29 | 26 | ||
@@ -104,20 +101,6 @@ arch_initcall(shark_init); | |||
104 | 101 | ||
105 | extern void shark_init_irq(void); | 102 | extern void shark_init_irq(void); |
106 | 103 | ||
107 | static struct map_desc shark_io_desc[] __initdata = { | ||
108 | { | ||
109 | .virtual = IO_BASE, | ||
110 | .pfn = __phys_to_pfn(IO_START), | ||
111 | .length = IO_SIZE, | ||
112 | .type = MT_DEVICE | ||
113 | } | ||
114 | }; | ||
115 | |||
116 | static void __init shark_map_io(void) | ||
117 | { | ||
118 | iotable_init(shark_io_desc, ARRAY_SIZE(shark_io_desc)); | ||
119 | } | ||
120 | |||
121 | #define IRQ_TIMER 0 | 104 | #define IRQ_TIMER 0 |
122 | #define HZ_TIME ((1193180 + HZ/2) / HZ) | 105 | #define HZ_TIME ((1193180 + HZ/2) / HZ) |
123 | 106 | ||
@@ -158,7 +141,6 @@ static void shark_init_early(void) | |||
158 | MACHINE_START(SHARK, "Shark") | 141 | MACHINE_START(SHARK, "Shark") |
159 | /* Maintainer: Alexander Schulz */ | 142 | /* Maintainer: Alexander Schulz */ |
160 | .atag_offset = 0x3000, | 143 | .atag_offset = 0x3000, |
161 | .map_io = shark_map_io, | ||
162 | .init_early = shark_init_early, | 144 | .init_early = shark_init_early, |
163 | .init_irq = shark_init_irq, | 145 | .init_irq = shark_init_irq, |
164 | .timer = &shark_timer, | 146 | .timer = &shark_timer, |