[U-Boot] [PATCH v2 12/26] sandbox: usb: Allow up to 4 emulated devices on a hub

Simon Glass sjg at chromium.org
Mon Nov 9 07:47:54 CET 2015


To support more advanced testing, support 4 devices instead of 2.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 drivers/usb/emul/sandbox_hub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.6.0.rc2.230.g3dd15c0



More information about the U-Boot mailing list