23 lines
		
	
	
	
		
			458 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
	
		
			458 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								/*
							 | 
						||
| 
								 | 
							
								 * OMAP2 CPU identification code
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * Copyright (C) 2010 Kan-Ru Chen <kanru@0xlab.org>
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * 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 OMAP2_ARCH_ID_H
							 | 
						||
| 
								 | 
							
								#define OMAP2_ARCH_ID_H
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								struct omap_die_id {
							 | 
						||
| 
								 | 
							
									u32 id_0;
							 | 
						||
| 
								 | 
							
									u32 id_1;
							 | 
						||
| 
								 | 
							
									u32 id_2;
							 | 
						||
| 
								 | 
							
									u32 id_3;
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								void omap_get_die_id(struct omap_die_id *odi);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#endif
							 |