diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-25 12:22:37 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:26 -0600 |
commit | 019808f97c1d039c41a960e477554b956c3ae238 (patch) | |
tree | 5a3707ecb84c46d90cf72969f15b7762717e6f9d /drivers/usb/Kconfig | |
parent | f84c052a3e0975cac29ecaf9df2b824874e24237 (diff) | |
download | u-boot-imx-019808f97c1d039c41a960e477554b956c3ae238.zip u-boot-imx-019808f97c1d039c41a960e477554b956c3ae238.tar.gz u-boot-imx-019808f97c1d039c41a960e477554b956c3ae238.tar.bz2 |
dm: usb: sandbox: Add a uclass for USB device emulation
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>
Diffstat (limited to 'drivers/usb/Kconfig')
-rw-r--r-- | drivers/usb/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index a4414ef..637ef3d 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig @@ -51,6 +51,8 @@ config DM_USB source "drivers/usb/host/Kconfig" +source "drivers/usb/emul/Kconfig" + config USB_STORAGE bool "USB Mass Storage support" ---help--- |