mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-22 07:32:03 +00:00
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>
This commit is contained in:
parent
ea0f768e2c
commit
62597d2551
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ static int spl_sdp_load_image(struct spl_image_info *spl_image,
|
||||||
int ret;
|
int ret;
|
||||||
const int controller_index = 0;
|
const int controller_index = 0;
|
||||||
|
|
||||||
|
board_usb_init(0, USB_INIT_DEVICE);
|
||||||
|
|
||||||
g_dnl_clear_detach();
|
g_dnl_clear_detach();
|
||||||
ret = g_dnl_register("usb_dnl_sdp");
|
ret = g_dnl_register("usb_dnl_sdp");
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
|
Loading…
Reference in a new issue