diff options
Diffstat (limited to 'arch/arm/mach-footbridge')
-rw-r--r-- | arch/arm/mach-footbridge/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/co285.c | 39 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/common.c | 21 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/ebsa285-leds.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/time.c | 3 |
5 files changed, 2 insertions, 65 deletions
diff --git a/arch/arm/mach-footbridge/Makefile b/arch/arm/mach-footbridge/Makefile index 0694ad6b6476..32f8609e4f85 100644 --- a/arch/arm/mach-footbridge/Makefile +++ b/arch/arm/mach-footbridge/Makefile | |||
@@ -14,12 +14,10 @@ pci-$(CONFIG_ARCH_EBSA285_HOST) += ebsa285-pci.o | |||
14 | pci-$(CONFIG_ARCH_NETWINDER) += netwinder-pci.o | 14 | pci-$(CONFIG_ARCH_NETWINDER) += netwinder-pci.o |
15 | pci-$(CONFIG_ARCH_PERSONAL_SERVER) += personal-pci.o | 15 | pci-$(CONFIG_ARCH_PERSONAL_SERVER) += personal-pci.o |
16 | 16 | ||
17 | leds-$(CONFIG_ARCH_CO285) += ebsa285-leds.o | ||
18 | leds-$(CONFIG_ARCH_EBSA285) += ebsa285-leds.o | 17 | leds-$(CONFIG_ARCH_EBSA285) += ebsa285-leds.o |
19 | leds-$(CONFIG_ARCH_NETWINDER) += netwinder-leds.o | 18 | leds-$(CONFIG_ARCH_NETWINDER) += netwinder-leds.o |
20 | 19 | ||
21 | obj-$(CONFIG_ARCH_CATS) += cats-hw.o isa-timer.o | 20 | obj-$(CONFIG_ARCH_CATS) += cats-hw.o isa-timer.o |
22 | obj-$(CONFIG_ARCH_CO285) += co285.o dc21285-timer.o | ||
23 | obj-$(CONFIG_ARCH_EBSA285) += ebsa285.o dc21285-timer.o | 21 | obj-$(CONFIG_ARCH_EBSA285) += ebsa285.o dc21285-timer.o |
24 | obj-$(CONFIG_ARCH_NETWINDER) += netwinder-hw.o isa-timer.o | 22 | obj-$(CONFIG_ARCH_NETWINDER) += netwinder-hw.o isa-timer.o |
25 | obj-$(CONFIG_ARCH_PERSONAL_SERVER) += personal.o dc21285-timer.o | 23 | obj-$(CONFIG_ARCH_PERSONAL_SERVER) += personal.o dc21285-timer.o |
diff --git a/arch/arm/mach-footbridge/co285.c b/arch/arm/mach-footbridge/co285.c deleted file mode 100644 index 4545576ad8d9..000000000000 --- a/arch/arm/mach-footbridge/co285.c +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-footbridge/co285.c | ||
3 | * | ||
4 | * CO285 machine fixup | ||
5 | */ | ||
6 | #include <linux/init.h> | ||
7 | |||
8 | #include <asm/hardware/dec21285.h> | ||
9 | #include <asm/mach-types.h> | ||
10 | |||
11 | #include <asm/mach/arch.h> | ||
12 | |||
13 | #include "common.h" | ||
14 | |||
15 | static void __init | ||
16 | fixup_coebsa285(struct machine_desc *desc, struct tag *tags, | ||
17 | char **cmdline, struct meminfo *mi) | ||
18 | { | ||
19 | extern unsigned long boot_memory_end; | ||
20 | extern char boot_command_line[]; | ||
21 | |||
22 | mi->nr_banks = 1; | ||
23 | mi->bank[0].start = PHYS_OFFSET; | ||
24 | mi->bank[0].size = boot_memory_end; | ||
25 | mi->bank[0].node = 0; | ||
26 | |||
27 | *cmdline = boot_command_line; | ||
28 | } | ||
29 | |||
30 | MACHINE_START(CO285, "co-EBSA285") | ||
31 | /* Maintainer: Mark van Doesburg */ | ||
32 | .phys_io = DC21285_ARMCSR_BASE, | ||
33 | .io_pg_offst = ((0x7cf00000) >> 18) & 0xfffc, | ||
34 | .fixup = fixup_coebsa285, | ||
35 | .map_io = footbridge_map_io, | ||
36 | .init_irq = footbridge_init_irq, | ||
37 | .timer = &footbridge_timer, | ||
38 | MACHINE_END | ||
39 | |||
diff --git a/arch/arm/mach-footbridge/common.c b/arch/arm/mach-footbridge/common.c index ef29fc34ce65..b08ab507c052 100644 --- a/arch/arm/mach-footbridge/common.c +++ b/arch/arm/mach-footbridge/common.c | |||
@@ -177,25 +177,6 @@ static struct map_desc ebsa285_host_io_desc[] __initdata = { | |||
177 | #endif | 177 | #endif |
178 | }; | 178 | }; |
179 | 179 | ||
180 | /* | ||
181 | * The CO-ebsa285 mapping. | ||
182 | */ | ||
183 | static struct map_desc co285_io_desc[] __initdata = { | ||
184 | #ifdef CONFIG_ARCH_CO285 | ||
185 | { | ||
186 | .virtual = PCIO_BASE, | ||
187 | .pfn = __phys_to_pfn(DC21285_PCI_IO), | ||
188 | .length = PCIO_SIZE, | ||
189 | .type = MT_DEVICE, | ||
190 | }, { | ||
191 | .virtual = PCIMEM_BASE, | ||
192 | .pfn = __phys_to_pfn(DC21285_PCI_MEM), | ||
193 | .length = PCIMEM_SIZE, | ||
194 | .type = MT_DEVICE, | ||
195 | }, | ||
196 | #endif | ||
197 | }; | ||
198 | |||
199 | void __init footbridge_map_io(void) | 180 | void __init footbridge_map_io(void) |
200 | { | 181 | { |
201 | /* | 182 | /* |
@@ -208,8 +189,6 @@ void __init footbridge_map_io(void) | |||
208 | * Now, work out what we've got to map in addition on this | 189 | * Now, work out what we've got to map in addition on this |
209 | * platform. | 190 | * platform. |
210 | */ | 191 | */ |
211 | if (machine_is_co285()) | ||
212 | iotable_init(co285_io_desc, ARRAY_SIZE(co285_io_desc)); | ||
213 | if (footbridge_cfn_mode()) | 192 | if (footbridge_cfn_mode()) |
214 | iotable_init(ebsa285_host_io_desc, ARRAY_SIZE(ebsa285_host_io_desc)); | 193 | iotable_init(ebsa285_host_io_desc, ARRAY_SIZE(ebsa285_host_io_desc)); |
215 | } | 194 | } |
diff --git a/arch/arm/mach-footbridge/ebsa285-leds.c b/arch/arm/mach-footbridge/ebsa285-leds.c index a64e22226515..09c1fbc51876 100644 --- a/arch/arm/mach-footbridge/ebsa285-leds.c +++ b/arch/arm/mach-footbridge/ebsa285-leds.c | |||
@@ -128,7 +128,7 @@ static void ebsa285_leds_event(led_event_t evt) | |||
128 | 128 | ||
129 | static int __init leds_init(void) | 129 | static int __init leds_init(void) |
130 | { | 130 | { |
131 | if (machine_is_ebsa285() || machine_is_co285()) | 131 | if (machine_is_ebsa285()) |
132 | leds_event = ebsa285_leds_event; | 132 | leds_event = ebsa285_leds_event; |
133 | 133 | ||
134 | leds_event(led_start); | 134 | leds_event(led_start); |
diff --git a/arch/arm/mach-footbridge/time.c b/arch/arm/mach-footbridge/time.c index 5d02e95dede3..d5cfcda385d6 100644 --- a/arch/arm/mach-footbridge/time.c +++ b/arch/arm/mach-footbridge/time.c | |||
@@ -115,8 +115,7 @@ static int set_isa_cmos_time(void) | |||
115 | 115 | ||
116 | void __init isa_rtc_init(void) | 116 | void __init isa_rtc_init(void) |
117 | { | 117 | { |
118 | if (machine_is_co285() || | 118 | if (machine_is_personal_server()) |
119 | machine_is_personal_server()) | ||
120 | /* | 119 | /* |
121 | * Add-in 21285s shouldn't access the RTC | 120 | * Add-in 21285s shouldn't access the RTC |
122 | */ | 121 | */ |