commit | a36d93ee05d19ec1cc80ce5e8458dfbab6993534 | [log] [tgz] |
---|---|---|
author | Frank Li <Frank.Li@nxp.com> | Wed Apr 29 10:35:10 2020 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Sun May 03 15:31:28 2020 +0200 |
tree | 9251944a9942dae8fd974d73746b78c62cf6758f | |
parent | ead3b0067c182ad88389900c0f6ebfb89a2fcf46 [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>
diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c index 806bf13..a54c747 100644 --- a/common/spl/spl_sdp.c +++ b/common/spl/spl_sdp.c
@@ -16,6 +16,8 @@ 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) {