Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
setup.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009 ST-Ericsson.
3  *
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.
7  *
8  * These symbols are needed for board-specific files to call their
9  * own cpu-specific files
10  */
11 #ifndef __ASM_ARCH_SETUP_H
12 #define __ASM_ARCH_SETUP_H
13 
14 #include <asm/mach/time.h>
15 #include <linux/init.h>
17 
18 void __init ux500_map_io(void);
19 extern void __init u8500_map_io(void);
20 
22 
23 extern void __init ux500_init_irq(void);
24 extern void __init ux500_init_late(void);
25 
26 extern struct device *ux500_soc_device_init(const char *soc_id);
27 
28 struct amba_device;
29 extern void __init amba_add_devices(struct amba_device *devs[], int num);
30 
31 struct sys_timer;
32 extern struct sys_timer ux500_timer;
33 
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, \
39 }
40 
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, \
46 }
47 
48 extern struct smp_operations ux500_smp_ops;
49 extern void ux500_cpu_die(unsigned int cpu);
50 
51 #endif /* __ASM_ARCH_SETUP_H */