 e6eaabeb8d
			
		
	
	
		e6eaabeb8d
		
	
	
	
	
		
			
			Currently the only mpc8544ds-ism that is factored out is toplevel compatible and model. In the future the generic e500 code is expected to become more generic. Signed-off-by: Scott Wood <scottwood@freescale.com> [agraf: conditionalize on CONFIG_FDT] Signed-off-by: Alexander Graf <agraf@suse.de>
		
			
				
	
	
		
			22 lines
		
	
	
		
			526 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			526 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef PPCE500_H
 | |
| #define PPCE500_H
 | |
| 
 | |
| typedef struct PPCE500Params {
 | |
|     /* Standard QEMU machine init params */
 | |
|     ram_addr_t ram_size;
 | |
|     const char *boot_device;
 | |
|     const char *kernel_filename;
 | |
|     const char *kernel_cmdline;
 | |
|     const char *initrd_filename;
 | |
|     const char *cpu_model;
 | |
| 
 | |
|     /* e500-specific params */
 | |
| 
 | |
|     /* required -- must at least add toplevel board compatible */
 | |
|     void (*fixup_devtree)(struct PPCE500Params *params, void *fdt);
 | |
| } PPCE500Params;
 | |
| 
 | |
| void ppce500_init(PPCE500Params *params);
 | |
| 
 | |
| #endif
 |