]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: usb: sandbox: Add an emulator for USB hub emulation
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:40 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:26 +0000 (11:11 -0600)
commit5db439920b87986870e3f1e980d842ae173a8764
tree50dce6f4dcdb4c8f9852cbd34a3d5c1a57559d11
parentf4f715360c490e20d25337a1984b508bf2061664
dm: usb: sandbox: Add an emulator for USB hub emulation

All USB controllers need a root hub. Add a sandbox emulation for this so
that we can add USB devices to sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/emul/Makefile
drivers/usb/emul/sandbox_hub.c [new file with mode: 0644]
include/usb_defs.h