提交 0ced2fab 编写于 作者: F Frank Li 提交者: Marek Vasut

sdp: call board_usb_init at spl_sdp_load_image

Need initialize UDC before run sdp download
Signed-off-by: NFrank Li <Frank.Li@nxp.com>
Signed-off-by: NPeng Fan <peng.fan@nxp.com>
上级 7ed4eac4
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册