]> Git Repo - u-boot.git/commit - include/usb.h
dm: usb: sandbox: Add a uclass for USB device emulation
authorSimon Glass <[email protected]>
Wed, 25 Mar 2015 18:22:37 +0000 (12:22 -0600)
committerSimon Glass <[email protected]>
Sat, 18 Apr 2015 17:11:26 +0000 (11:11 -0600)
commit019808f97c1d039c41a960e477554b956c3ae238
tree5a3707ecb84c46d90cf72969f15b7762717e6f9d
parentf84c052a3e0975cac29ecaf9df2b824874e24237
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 <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Makefile
drivers/usb/Kconfig
drivers/usb/emul/Kconfig [new file with mode: 0644]
drivers/usb/emul/Makefile [new file with mode: 0644]
drivers/usb/emul/usb-emul-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/usb.h
This page took 0.042008 seconds and 4 git commands to generate.