summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-08 23:47:54 -0700
committerSimon Glass <sjg@chromium.org>2015-11-19 20:27:51 -0700
commit80438a6c71b95b2749bdf5c58f7ff26f2907f3d5 (patch)
treed27bcb63e7ed847765f1f5d1c7ae04591f9f2f70 /drivers
parentc4876320db4d3c7def993ac30d92215745a3435f (diff)
downloadblackbird-obmc-uboot-80438a6c71b95b2749bdf5c58f7ff26f2907f3d5.tar.gz
blackbird-obmc-uboot-80438a6c71b95b2749bdf5c58f7ff26f2907f3d5.zip
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')
-rw-r--r--drivers/usb/emul/sandbox_hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/emul/sandbox_hub.c b/drivers/usb/emul/sandbox_hub.c
index baf8bdc857..624fbdecf1 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;
OpenPOWER on IntegriCloud