mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
spl: sdp: call board_usb_init at spl_sdp_load_image
Need initialize UDC before run sdp download Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
ea0f768e2c
commit
62597d2551
|
@ -16,6 +16,8 @@ static int spl_sdp_load_image(struct spl_image_info *spl_image,
|
|||
int ret;
|
||||
const int controller_index = 0;
|
||||
|
||||
board_usb_init(0, USB_INIT_DEVICE);
|
||||
|
||||
g_dnl_clear_detach();
|
||||
ret = g_dnl_register("usb_dnl_sdp");
|
||||
if (ret) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user