From: Frank Li Date: Wed, 29 Apr 2020 02:35:10 +0000 (+0800) Subject: spl: sdp: call board_usb_init at spl_sdp_load_image X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=62597d25514e3e36e891c626620624755d8cb56d;p=u-boot.git spl: sdp: call board_usb_init at spl_sdp_load_image Need initialize UDC before run sdp download Signed-off-by: Frank Li Signed-off-by: Peng Fan --- 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) {