 b5fcfe927b
			
		
	
	
		b5fcfe927b
		
	
	
	
	
		
			
			This patch adds the OpenRISC virtual machine 'virt' for OpenRISC. This platform allows for a convenient CI platform for toolchain, software ports and the OpenRISC linux kernel port. Much of this has been sourced from the m68k and riscv virt platforms. The platform provides: - OpenRISC SMP with up to 4 cpus - A virtio bus with up to 8 devices - Standard ns16550a serial - Goldfish RTC - SiFive TEST device for poweroff and reboot - Generated Device Tree to automatically configure the guest kernel Signed-off-by: Stafford Horne <shorne@gmail.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			295 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			295 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
| openrisc_ss = ss.source_set()
 | |
| openrisc_ss.add(files('cputimer.c'))
 | |
| openrisc_ss.add(files('boot.c'))
 | |
| openrisc_ss.add(when: 'CONFIG_OR1K_SIM', if_true: [files('openrisc_sim.c'), fdt])
 | |
| openrisc_ss.add(when: 'CONFIG_OR1K_VIRT', if_true: [files('virt.c'), fdt])
 | |
| 
 | |
| hw_arch += {'openrisc': openrisc_ss}
 |