Adding support for MOXA ART SoC. Testing port of linux-2.6.32.60-moxart.
[linux-3.6.7-moxart.git] / arch / arm / mach-ux500 / include / mach / setup.h
blob7914e5eaa9c775a913d494adc05f8094103a5dee
1 /*
2 * Copyright (C) 2009 ST-Ericsson.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * These symbols are needed for board-specific files to call their
9 * own cpu-specific files
11 #ifndef __ASM_ARCH_SETUP_H
12 #define __ASM_ARCH_SETUP_H
14 #include <asm/mach/time.h>
15 #include <linux/init.h>
16 #include <linux/mfd/abx500/ab8500.h>
18 void __init ux500_map_io(void);
19 extern void __init u8500_map_io(void);
21 extern struct device * __init u8500_init_devices(struct ab8500_platform_data *ab8500);
23 extern void __init ux500_init_irq(void);
24 extern void __init ux500_init_late(void);
26 extern struct device *ux500_soc_device_init(const char *soc_id);
28 struct amba_device;
29 extern void __init amba_add_devices(struct amba_device *devs[], int num);
31 struct sys_timer;
32 extern struct sys_timer ux500_timer;
34 #define __IO_DEV_DESC(x, sz) { \
35 .virtual = IO_ADDRESS(x), \
36 .pfn = __phys_to_pfn(x), \
37 .length = sz, \
38 .type = MT_DEVICE, \
41 #define __MEM_DEV_DESC(x, sz) { \
42 .virtual = IO_ADDRESS(x), \
43 .pfn = __phys_to_pfn(x), \
44 .length = sz, \
45 .type = MT_MEMORY, \
48 #endif /* __ASM_ARCH_SETUP_H */