mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 02:15:45 +01:00 
			
		
		
		
	QEMU ppce500 target can dynamically instantiate an eTSEC device on a platform bus if "-device eTSEC" is given to QEMU. It is presented as a "simple-bus" in the device tree, with an additional compatible string "qemu,platform". Let's create a virtual memory mapping for it in misc_init_r(), in preparation to adding eTSEC support. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			295 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			295 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| if TARGET_QEMU_PPCE500
 | |
| 
 | |
| config SYS_BOARD
 | |
| 	default "qemu-ppce500"
 | |
| 
 | |
| config SYS_VENDOR
 | |
| 	default "emulation"
 | |
| 
 | |
| config SYS_CONFIG_NAME
 | |
| 	default "qemu-ppce500"
 | |
| 
 | |
| config PLATFORM_BUS_MAP_ADDR
 | |
| 	hex
 | |
| 	default 0xf0000000
 | |
| 	help
 | |
| 	  The QEMU platform bus base mapped address in the virtual memory space.
 | |
| 
 | |
| endif
 |