summaryrefslogtreecommitdiff
path: root/include/dm/uclass-id.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-25 12:22:39 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:26 -0600
commitf4f715360c490e20d25337a1984b508bf2061664 (patch)
treec15e4fa46a9256ebd2bcca24c6c204ca52862224 /include/dm/uclass-id.h
parent095fdef081c77fc79c719031e28b2925523873c9 (diff)
downloadu-boot-imx-f4f715360c490e20d25337a1984b508bf2061664.zip
u-boot-imx-f4f715360c490e20d25337a1984b508bf2061664.tar.gz
u-boot-imx-f4f715360c490e20d25337a1984b508bf2061664.tar.bz2
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 'include/dm/uclass-id.h')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 3d62dbb..fddfd35 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -44,6 +44,7 @@ enum uclass_id {
UCLASS_USB, /* USB bus */
UCLASS_USB_HUB, /* USB hub */
UCLASS_USB_DEV_GENERIC, /* USB generic device */
+ UCLASS_MASS_STORAGE, /* Mass storage device */
UCLASS_COUNT,
UCLASS_INVALID = -1,