]> git.karo-electronics.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:56 +0000 (21:47 +0200)
commit9c433083bb336816dcc2bc164918475c99474acf
tree5e1baa2942d570f48be40893e98eed79350492d3
parentb7706705f8ceec9da77df0285e3b9d146e120633
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