commit | bcb8dc3c85a9d4ead7fabc6fcfbfd45b4e8fba79 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <festevam@denx.de> | Wed Jul 13 17:39:46 2022 -0300 |
committer | Marek Vasut <marex@denx.de> | Thu Jul 14 16:13:11 2022 +0200 |
tree | 767df9c5bceada8690d7b6d7f502493b9aaf28b6 | |
parent | ae7b2813d0dbe21f6503cac2721475d4d4155bfb [diff] |
spl: sdp: Pass the USB index to board_usb_init() board_usb_init() should receive the controller_index as its first parameter instead of having it hardcoded as 0. All in-tree users have CONFIG_SPL_SDP_USB_DEV as 0, so this error should not affect any board. Fix it by passing controller_index as the parameter of board_usb_init(). Signed-off-by: Fabio Estevam <festevam@denx.de> Acked-by: Peng Fan <peng.fan@nxp.com>