diff options
author | Frank Li <Frank.Li@nxp.com> | 2018-08-09 10:23:37 -0500 |
---|---|---|
committer | Frank Li <Frank.Li@nxp.com> | 2018-08-10 12:10:31 -0500 |
commit | ab6696c4f7ff3f13153e27b696fcbf38188b009a (patch) | |
tree | 4d193cbe3bc4fa12985d62f7a2de4ad4384fd8ec /common | |
parent | 8efc764dffc4c32187d65123f52030c28930a1ee (diff) |
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>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/spl_sdp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c index 0c4603a3db..eff252f94a 100644 --- 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, int ret; const int controller_index = 0; + board_usb_init(0, USB_INIT_DEVICE); + g_dnl_clear_detach(); g_dnl_register("usb_dnl_sdp"); |