diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-08 23:47:54 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-11-19 20:27:51 -0700 |
commit | 80438a6c71b95b2749bdf5c58f7ff26f2907f3d5 (patch) | |
tree | d27bcb63e7ed847765f1f5d1c7ae04591f9f2f70 /drivers/usb/emul | |
parent | c4876320db4d3c7def993ac30d92215745a3435f (diff) | |
download | u-boot-80438a6c71b95b2749bdf5c58f7ff26f2907f3d5.zip u-boot-80438a6c71b95b2749bdf5c58f7ff26f2907f3d5.tar.gz u-boot-80438a6c71b95b2749bdf5c58f7ff26f2907f3d5.tar.bz2 |
sandbox: usb: Allow up to 4 emulated devices on a hub
To support more advanced testing, support 4 devices instead of 2.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/usb/emul')
-rw-r--r-- | drivers/usb/emul/sandbox_hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/emul/sandbox_hub.c b/drivers/usb/emul/sandbox_hub.c index baf8bdc..624fbde 100644 --- a/drivers/usb/emul/sandbox_hub.c +++ b/drivers/usb/emul/sandbox_hub.c @@ -13,7 +13,7 @@ DECLARE_GLOBAL_DATA_PTR; /* We only support up to 8 */ -#define SANDBOX_NUM_PORTS 2 +#define SANDBOX_NUM_PORTS 4 struct sandbox_hub_platdata { struct usb_dev_platdata plat; |