diff options
author | Frank Li | 2020-04-29 10:35:10 +0800 |
---|---|---|
committer | Stefano Babic | 2020-05-03 15:31:28 +0200 |
commit | 62597d25514e3e36e891c626620624755d8cb56d (patch) | |
tree | 9251944a9942dae8fd974d73746b78c62cf6758f | |
parent | ea0f768e2c835d2b77bdc1db7d4ab1416e45e432 (diff) |
spl: 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>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
-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 806bf1327ef..a54c7479d0b 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) { |