Skip to content
Commit 16aabfe2 authored by Fabio Estevam's avatar Fabio Estevam Committed by Marek Vasut
Browse files

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: default avatarFabio Estevam <festevam@denx.de>
Acked-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 48b1cff9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment