diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-05-03 02:39:02 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-04 12:50:02 -0400 |
commit | 178980f98eef58607647eb66e178bf984bf81f4c (patch) | |
tree | 42b536e6e9ffb447a3b070a44a8219aed424e4d0 /arch/arm/mach-ux500/include | |
parent | 39a982b4cda1b9c129094a411962348827412d50 (diff) |
ARM: 6080/1: ux500: move irq and common maps to cpu.c
Move IRQ initialization and common io mapping setup code to cpu.c,
renaming U8500* to UX500* along the way.
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/include')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/setup.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/include/mach/setup.h b/arch/arm/mach-ux500/include/mach/setup.h index 65112bfd7a0c..6c4c348fbdbb 100644 --- a/arch/arm/mach-ux500/include/mach/setup.h +++ b/arch/arm/mach-ux500/include/mach/setup.h | |||
@@ -14,13 +14,22 @@ | |||
14 | #include <asm/mach/time.h> | 14 | #include <asm/mach/time.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | 16 | ||
17 | extern void u8500_map_io(void); | 17 | extern void __init ux500_map_io(void); |
18 | extern void __init u8500_map_io(void); | ||
19 | |||
18 | extern void u8500_init_devices(void); | 20 | extern void u8500_init_devices(void); |
19 | extern void u8500_init_irq(void); | 21 | extern void __init ux500_init_irq(void); |
20 | /* We re-use nomadik_timer for this platform */ | 22 | /* We re-use nomadik_timer for this platform */ |
21 | extern void nmdk_timer_init(void); | 23 | extern void nmdk_timer_init(void); |
22 | 24 | ||
23 | struct sys_timer; | 25 | struct sys_timer; |
24 | extern struct sys_timer u8500_timer; | 26 | extern struct sys_timer u8500_timer; |
25 | 27 | ||
28 | #define __IO_DEV_DESC(x, sz) { \ | ||
29 | .virtual = IO_ADDRESS(x), \ | ||
30 | .pfn = __phys_to_pfn(x), \ | ||
31 | .length = sz, \ | ||
32 | .type = MT_DEVICE, \ | ||
33 | } | ||
34 | |||
26 | #endif /* __ASM_ARCH_SETUP_H */ | 35 | #endif /* __ASM_ARCH_SETUP_H */ |