Revert "sdp: call board_usb_init at spl_sdp_load_image"
authorYe Li <ye.li@nxp.com>
Thu, 11 Mar 2021 06:12:15 +0000 (22:12 -0800)
committerYe Li <ye.li@nxp.com>
Wed, 28 Apr 2021 20:48:45 +0000 (13:48 -0700)
This reverts commit 0ced2faba08a9faf0ac1cbeb2a320faa635651d9.
It is already applied from history, and re-apply causes problem
after switching to DM

Signed-off-by: Ye Li <ye.li@nxp.com>
common/spl/spl_sdp.c

index ae9c098..e7f7b68 100644 (file)
@@ -19,8 +19,6 @@ static int spl_sdp_load_image(struct spl_image_info *spl_image,
 
        usb_gadget_initialize(controller_index);
 
-       board_usb_init(0, USB_INIT_DEVICE);
-
        g_dnl_clear_detach();
        ret = g_dnl_register("usb_dnl_sdp");
        if (ret) {