From: Simon Glass Date: Mon, 9 Nov 2015 06:47:54 +0000 (-0700) Subject: sandbox: usb: Allow up to 4 emulated devices on a hub X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=80438a6c71b95b2749bdf5c58f7ff26f2907f3d5;p=u-boot.git 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 --- 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;