fix: usb: Fix support for second USB controller
- Fix memory corruption caused by using a wrong
USB controller index for active USB ports higher
than pre-defined maximum of supported controllers.
- Prevent low leve USB initalization and stop
function from running with controller indexes
higher than 0 since only one active controller
is actually supported by marvell USB code.
- Add CONFIG_USB_MAX_CONTROLLER_COUNT to board
configuration headers and set it to 2 for A3x
platforms for proper support of second USB port.
- Fix JIRA SYSTEMSW-1535 bug.
Change-Id: I74d6f8177c3733b6f803af0817d54f808460a33b
Signed-off-by: kostap <kostap@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/17966
Reviewed-by: Omri Itach <omrii@marvell.com>
Tested-by: Star_Automation <star@marvell.com>
Tested-by: Omri Itach <omrii@marvell.com>
5 files changed