diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-03 23:50:30 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-07 20:27:07 +0300 |
commit | 70caa97108d790e5779b347a8530b130df9f000a (patch) | |
tree | f05ccb40de50fbff41d0b89f49116e794e8c3ee2 /include | |
parent | b042566dcf0225f89026113ac24b9bffb9546684 (diff) | |
download | u-boot-70caa97108d790e5779b347a8530b130df9f000a.tar.xz |
usb: Allow up to 7 storage devices
The current limit of 5 is not enough for the driver model USB tests. Really
we should not have a limit but the driver model code still uses the
usb_dev_desc[] array, which has a limit.
Increasing the limit by 2 should not bother anyone. Adjust it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb.h b/include/usb.h index 2539364565..0b410b6cd1 100644 --- a/include/usb.h +++ b/include/usb.h @@ -227,7 +227,7 @@ int board_usb_cleanup(int index, enum usb_init_type init); #ifdef CONFIG_USB_STORAGE -#define USB_MAX_STOR_DEV 5 +#define USB_MAX_STOR_DEV 7 block_dev_desc_t *usb_stor_get_dev(int index); int usb_stor_scan(int mode); int usb_stor_info(void); |