mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
The symbol USB_EMUL is how sandbox has access to USB. It's implementation however enforces a few other requirements. It must have SCSI enabled, and in turn that means it must have BLK enabled. Finally, we should not be using SANDBOX itself as a symbol to decide what to build or not build here, as SANDBOX is selected for COMPILE_TEST builds as well and so may not have enabled the sandbox specific USB support. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Marek Vasut <marek.vasut+usb@mailbox.org>
12 lines
356 B
Plaintext
12 lines
356 B
Plaintext
config USB_EMUL
|
|
bool "Support for USB device emulation"
|
|
depends on SANDBOX
|
|
select DM_USB
|
|
select SCSI
|
|
select USB_HOST
|
|
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.
|