]> git.sur5r.net Git - u-boot/commit
usb: Allow up to 7 storage devices
authorSimon Glass <sjg@chromium.org>
Sun, 3 Jan 2016 20:50:30 +0000 (13:50 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 7 Jan 2016 17:27:07 +0000 (10:27 -0700)
commit70caa97108d790e5779b347a8530b130df9f000a
treef05ccb40de50fbff41d0b89f49116e794e8c3ee2
parentb042566dcf0225f89026113ac24b9bffb9546684
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>
common/usb_storage.c
include/usb.h