Commit dc854fd34270f69f56f4973e71371f37692acd1f

Authored by Frank Li
Committed by Ye Li
1 parent 8f82f30e93

MLK-19181-1: 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>
(cherry picked from commit ab6696c4f7ff3f13153e27b696fcbf38188b009a)
(cherry picked from commit 9f0962216f852a7f5ade66bbf66f57a36654a5bd)

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

common/spl/spl_sdp.c
... ... @@ -16,6 +16,8 @@
16 16 int ret;
17 17 const int controller_index = 0;
18 18  
  19 + board_usb_init(0, USB_INIT_DEVICE);
  20 +
19 21 g_dnl_clear_detach();
20 22 ret = g_dnl_register("usb_dnl_sdp");
21 23 if (ret) {