diff options
Diffstat (limited to 'arch/arm/mach-footbridge')
-rw-r--r-- | arch/arm/mach-footbridge/dc21285.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/include/mach/entry-macro.S | 6 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/include/mach/system.h | 13 |
3 files changed, 5 insertions, 22 deletions
diff --git a/arch/arm/mach-footbridge/dc21285.c b/arch/arm/mach-footbridge/dc21285.c index 94a7087a6106..e17e11de4f5e 100644 --- a/arch/arm/mach-footbridge/dc21285.c +++ b/arch/arm/mach-footbridge/dc21285.c | |||
@@ -274,11 +274,13 @@ int __init dc21285_setup(int nr, struct pci_sys_data *sys) | |||
274 | allocate_resource(&iomem_resource, &res[0], 0x40000000, | 274 | allocate_resource(&iomem_resource, &res[0], 0x40000000, |
275 | 0x80000000, 0xffffffff, 0x40000000, NULL, NULL); | 275 | 0x80000000, 0xffffffff, 0x40000000, NULL, NULL); |
276 | 276 | ||
277 | pci_add_resource(&sys->resources, &ioport_resource); | ||
278 | pci_add_resource(&sys->resources, &res[0]); | ||
279 | pci_add_resource(&sys->resources, &res[1]); | ||
280 | sys->mem_offset = DC21285_PCI_MEM; | 277 | sys->mem_offset = DC21285_PCI_MEM; |
281 | 278 | ||
279 | pci_add_resource_offset(&sys->resources, | ||
280 | &ioport_resource, sys->io_offset); | ||
281 | pci_add_resource_offset(&sys->resources, &res[0], sys->mem_offset); | ||
282 | pci_add_resource_offset(&sys->resources, &res[1], sys->mem_offset); | ||
283 | |||
282 | return 1; | 284 | return 1; |
283 | } | 285 | } |
284 | 286 | ||
diff --git a/arch/arm/mach-footbridge/include/mach/entry-macro.S b/arch/arm/mach-footbridge/include/mach/entry-macro.S index d3847be0c667..dabbd5c54a78 100644 --- a/arch/arm/mach-footbridge/include/mach/entry-macro.S +++ b/arch/arm/mach-footbridge/include/mach/entry-macro.S | |||
@@ -14,9 +14,6 @@ | |||
14 | .equ dc21285_high, ARMCSR_BASE & 0xff000000 | 14 | .equ dc21285_high, ARMCSR_BASE & 0xff000000 |
15 | .equ dc21285_low, ARMCSR_BASE & 0x00ffffff | 15 | .equ dc21285_low, ARMCSR_BASE & 0x00ffffff |
16 | 16 | ||
17 | .macro disable_fiq | ||
18 | .endm | ||
19 | |||
20 | .macro get_irqnr_preamble, base, tmp | 17 | .macro get_irqnr_preamble, base, tmp |
21 | mov \base, #dc21285_high | 18 | mov \base, #dc21285_high |
22 | .if dc21285_low | 19 | .if dc21285_low |
@@ -24,9 +21,6 @@ | |||
24 | .endif | 21 | .endif |
25 | .endm | 22 | .endm |
26 | 23 | ||
27 | .macro arch_ret_to_user, tmp1, tmp2 | ||
28 | .endm | ||
29 | |||
30 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | 24 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp |
31 | ldr \irqstat, [\base, #0x180] @ get interrupts | 25 | ldr \irqstat, [\base, #0x180] @ get interrupts |
32 | 26 | ||
diff --git a/arch/arm/mach-footbridge/include/mach/system.h b/arch/arm/mach-footbridge/include/mach/system.h deleted file mode 100644 index a174a5841bc2..000000000000 --- a/arch/arm/mach-footbridge/include/mach/system.h +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-footbridge/include/mach/system.h | ||
3 | * | ||
4 | * Copyright (C) 1996-1999 Russell King. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | static inline void arch_idle(void) | ||
11 | { | ||
12 | cpu_do_idle(); | ||
13 | } | ||