Re: [U-Boot] [PATCH v2 52/80] dm: usb: sandbox: Add an emulator for USB hub emulation

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > 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 > --- > > Changes in v2: None > > drivers/usb/emul/Makefile | 1 + > drivers/usb/emul/sandbox_h

[U-Boot] [PATCH v2 52/80] dm: usb: sandbox: Add an emulator for USB hub emulation

2015-03-25 Thread Simon Glass
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 --- Changes in v2: None drivers/usb/emul/Makefile | 1 + drivers/usb/emul/sandbox_hub.c | 303 + include/us