mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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
7ed4eac43d
commit
0ced2faba0
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ static int spl_sdp_load_image(struct spl_image_info *spl_image,
|
|||
|
||||
usb_gadget_initialize(controller_index);
|
||||
|
||||
board_usb_init(0, USB_INIT_DEVICE);
|
||||
|
||||
g_dnl_clear_detach();
|
||||
ret = g_dnl_register("usb_dnl_sdp");
|
||||
if (ret) {
|
||||
|
|
Loading…
Reference in a new issue