| 
									
										
										
										
											2009-11-28 08:17:18 +01:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright (C) 2009 ST-Ericsson. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or modify | 
					
						
							|  |  |  |  * it under the terms of the GNU General Public License version 2 as | 
					
						
							|  |  |  |  * published by the Free Software Foundation. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * These symbols are needed for board-specific files to call their | 
					
						
							|  |  |  |  * own cpu-specific files | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | #ifndef __ASM_ARCH_SETUP_H
 | 
					
						
							|  |  |  | #define __ASM_ARCH_SETUP_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-14 15:22:40 +02:00
										 |  |  | #include <asm/mach/arch.h>
 | 
					
						
							| 
									
										
										
										
											2009-11-28 08:17:18 +01:00
										 |  |  | #include <asm/mach/time.h>
 | 
					
						
							|  |  |  | #include <linux/init.h>
 | 
					
						
							| 
									
										
										
										
											2012-07-06 12:46:23 +02:00
										 |  |  | #include <linux/mfd/abx500/ab8500.h>
 | 
					
						
							| 
									
										
										
										
											2009-11-28 08:17:18 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-14 15:22:40 +02:00
										 |  |  | void ux500_restart(enum reboot_mode mode, const char *cmd); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-12-08 11:07:59 +05:30
										 |  |  | void __init ux500_map_io(void); | 
					
						
							| 
									
										
										
										
											2010-05-03 07:46:56 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-05-03 07:39:02 +01:00
										 |  |  | extern void __init ux500_init_irq(void); | 
					
						
							| 
									
										
										
										
											2010-12-05 12:49:03 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-02-06 11:22:24 -08:00
										 |  |  | extern struct device *ux500_soc_device_init(const char *soc_id); | 
					
						
							| 
									
										
										
										
											2010-12-05 13:35:12 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-11-08 12:40:59 -07:00
										 |  |  | extern void ux500_timer_init(void); | 
					
						
							| 
									
										
										
										
											2010-03-01 05:03:31 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-05-03 07:39:02 +01:00
										 |  |  | #define __IO_DEV_DESC(x, sz)	{		\
 | 
					
						
							|  |  |  | 	.virtual	= IO_ADDRESS(x),	\ | 
					
						
							|  |  |  | 	.pfn		= __phys_to_pfn(x),	\ | 
					
						
							|  |  |  | 	.length		= sz,			\ | 
					
						
							|  |  |  | 	.type		= MT_DEVICE,		\ | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-08-19 10:27:49 +01:00
										 |  |  | #define __MEM_DEV_DESC(x, sz)	{		\
 | 
					
						
							|  |  |  | 	.virtual	= IO_ADDRESS(x),	\ | 
					
						
							|  |  |  | 	.pfn		= __phys_to_pfn(x),	\ | 
					
						
							|  |  |  | 	.length		= sz,			\ | 
					
						
							| 
									
										
										
										
											2013-10-24 10:26:40 +01:00
										 |  |  | 	.type		= MT_MEMORY_RWX,		\ | 
					
						
							| 
									
										
										
										
											2010-08-19 10:27:49 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-08 13:15:22 +01:00
										 |  |  | extern struct smp_operations ux500_smp_ops; | 
					
						
							|  |  |  | extern void ux500_cpu_die(unsigned int cpu); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-11-28 08:17:18 +01:00
										 |  |  | #endif /*  __ASM_ARCH_SETUP_H */
 |