aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/include
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2010-05-03 02:39:02 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-04 12:50:02 -0400
commit178980f98eef58607647eb66e178bf984bf81f4c (patch)
tree42b536e6e9ffb447a3b070a44a8219aed424e4d0 /arch/arm/mach-ux500/include
parent39a982b4cda1b9c129094a411962348827412d50 (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.h13
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
17extern void u8500_map_io(void); 17extern void __init ux500_map_io(void);
18extern void __init u8500_map_io(void);
19
18extern void u8500_init_devices(void); 20extern void u8500_init_devices(void);
19extern void u8500_init_irq(void); 21extern void __init ux500_init_irq(void);
20/* We re-use nomadik_timer for this platform */ 22/* We re-use nomadik_timer for this platform */
21extern void nmdk_timer_init(void); 23extern void nmdk_timer_init(void);
22 24
23struct sys_timer; 25struct sys_timer;
24extern struct sys_timer u8500_timer; 26extern 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 */