mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	With sandbox we want to be able to emulate USB devices so that we can test the USB stack. Add a uclass to support this. It implements the same operations as a normal USB device driver, but in this case passes them on to an emulation driver. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
		
			
				
	
	
		
			9 lines
		
	
	
		
			321 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			321 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| config USB_EMUL
 | |
| 	bool "Support for USB device emulation"
 | |
| 	depends on DM_USB && SANDBOX
 | |
| 	help
 | |
| 	  Since sandbox does not have access to a real USB bus, it is possible
 | |
| 	  to use device emulators instead. This allows testing of the USB
 | |
| 	  stack on sandbox without needing a real device, or any host machine
 | |
| 	  USB resources.
 |