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>
This commit is contained in:
parent
c4876320db
commit
80438a6c71
|
|
@ -13,7 +13,7 @@
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
/* We only support up to 8 */
|
/* We only support up to 8 */
|
||||||
#define SANDBOX_NUM_PORTS 2
|
#define SANDBOX_NUM_PORTS 4
|
||||||
|
|
||||||
struct sandbox_hub_platdata {
|
struct sandbox_hub_platdata {
|
||||||
struct usb_dev_platdata plat;
|
struct usb_dev_platdata plat;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue