| 
									
										
										
										
											2011-04-28 14:27:20 -06:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  *  arch/arm/include/asm/prom.h | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  Copyright (C) 2009 Canonical Ltd. <jeremy.kerr@canonical.com> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * 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. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | #ifndef __ASMARM_PROM_H
 | 
					
						
							|  |  |  | #define __ASMARM_PROM_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifdef CONFIG_OF
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-07-26 14:55:59 +01:00
										 |  |  | extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys); | 
					
						
							| 
									
										
										
										
											2011-11-17 17:31:51 +00:00
										 |  |  | extern void __init arm_dt_init_cpu_maps(void); | 
					
						
							| 
									
										
										
										
											2011-04-28 14:27:21 -06:00
										 |  |  | 
 | 
					
						
							|  |  |  | #else /* CONFIG_OF */
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-07-26 14:55:59 +01:00
										 |  |  | static inline const struct machine_desc *setup_machine_fdt(unsigned int dt_phys) | 
					
						
							| 
									
										
										
										
											2011-04-28 14:27:21 -06:00
										 |  |  | { | 
					
						
							|  |  |  | 	return NULL; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-17 17:31:51 +00:00
										 |  |  | static inline void arm_dt_init_cpu_maps(void) { } | 
					
						
							| 
									
										
										
										
											2011-04-28 14:27:21 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-28 14:27:20 -06:00
										 |  |  | #endif /* CONFIG_OF */
 | 
					
						
							|  |  |  | #endif /* ASMARM_PROM_H */
 |