projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ed4eac
)
sdp: call board_usb_init at spl_sdp_load_image
author
Frank Li
<Frank.Li@nxp.com>
Tue, 18 Aug 2020 10:16:43 +0000
(18:16 +0800)
committer
Marek Vasut
<marex@denx.de>
Tue, 1 Sep 2020 12:47:43 +0000
(14:47 +0200)
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>
common/spl/spl_sdp.c
patch
|
blob
|
history
diff --git
a/common/spl/spl_sdp.c
b/common/spl/spl_sdp.c
index
e7f7b68
..
ae9c098
100644
(file)
--- a/
common/spl/spl_sdp.c
+++ b/
common/spl/spl_sdp.c
@@
-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) {