diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-25 12:22:39 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:26 -0600 |
commit | f4f715360c490e20d25337a1984b508bf2061664 (patch) | |
tree | c15e4fa46a9256ebd2bcca24c6c204ca52862224 /drivers/usb/emul/Makefile | |
parent | 095fdef081c77fc79c719031e28b2925523873c9 (diff) | |
download | talos-obmc-uboot-f4f715360c490e20d25337a1984b508bf2061664.tar.gz talos-obmc-uboot-f4f715360c490e20d25337a1984b508bf2061664.zip |
dm: usb: sandbox: Add an emulator for USB flash devices
This emulator supports USB enumeration and allows a local file to be provided
as the contents of the emulated flash stick. U-Boot can then use the file as
it would a normal device, with all access passing through the usb_stor layer
and the USB stack.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/emul/Makefile')
-rw-r--r-- | drivers/usb/emul/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/emul/Makefile b/drivers/usb/emul/Makefile index f75bbd8eae..1d5acceec9 100644 --- a/drivers/usb/emul/Makefile +++ b/drivers/usb/emul/Makefile @@ -5,4 +5,5 @@ # SPDX-License-Identifier: GPL-2.0+ # +obj-$(CONFIG_USB_EMUL) += sandbox_flash.o obj-$(CONFIG_USB_EMUL) += usb-emul-uclass.o |