summaryrefslogtreecommitdiff
path: root/drivers/usb/emul/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-25 18:22:37 (GMT)
committerSimon Glass <sjg@chromium.org>2015-04-18 17:11:26 (GMT)
commit019808f97c1d039c41a960e477554b956c3ae238 (patch)
tree5a3707ecb84c46d90cf72969f15b7762717e6f9d /drivers/usb/emul/Makefile
parentf84c052a3e0975cac29ecaf9df2b824874e24237 (diff)
downloadu-boot-fsl-qoriq-019808f97c1d039c41a960e477554b956c3ae238.tar.xz
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/emul/Makefile')
-rw-r--r--drivers/usb/emul/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/emul/Makefile b/drivers/usb/emul/Makefile
new file mode 100644
index 0000000..f75bbd8
--- /dev/null
+++ b/drivers/usb/emul/Makefile
@@ -0,0 +1,8 @@
+#
+# (C) Copyright 2015 Google, Inc
+# Written by Simon Glass <sjg@chromium.org>
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+obj-$(CONFIG_USB_EMUL) += usb-emul-uclass.o