public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/5] spl: sdp: call board_usb_init at spl_sdp_load_image
@ 2020-04-29  2:35 Peng Fan
  2020-04-29  2:35 ` [PATCH 2/5] usb: gadget: sdp: use CONFIG_SDP_LOADADDR as default load address Peng Fan
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Peng Fan @ 2020-04-29  2:35 UTC (permalink / raw)
  To: u-boot

From: Frank Li <Frank.Li@nxp.com>

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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c
index 806bf1327e..a54c7479d0 100644
--- a/common/spl/spl_sdp.c
+++ b/common/spl/spl_sdp.c
@@ -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) {
-- 
2.16.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-05-04  7:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-29  2:35 [PATCH 1/5] spl: sdp: call board_usb_init at spl_sdp_load_image Peng Fan
2020-04-29  2:35 ` [PATCH 2/5] usb: gadget: sdp: use CONFIG_SDP_LOADADDR as default load address Peng Fan
2020-05-04  7:34   ` sbabic at denx.de
2020-04-29  2:35 ` [PATCH 3/5] spl: sdp: Add CONFIG_SPL_SDP_USB_DEV for USB device Peng Fan
2020-05-04  7:35   ` sbabic at denx.de
2020-04-29  2:35 ` [PATCH 4/5] spl: sdp: Add a callback to clean up USB driver Peng Fan
2020-05-04  7:35   ` sbabic at denx.de
2020-04-29  2:35 ` [PATCH 5/5] spl: sdp: Add DM gadget support for sdp Peng Fan
2020-05-04  7:34   ` sbabic at denx.de
2020-05-04  7:34 ` [PATCH 1/5] spl: sdp: call board_usb_init at spl_sdp_load_image sbabic at denx.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox