mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 06:31:28 +01:00
- Two USB gadget fixes
This commit is contained in:
commit
02f8486b9f
@ -1068,7 +1068,7 @@ composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
|
|||||||
if (!gadget_is_dualspeed(gadget) ||
|
if (!gadget_is_dualspeed(gadget) ||
|
||||||
gadget->speed >= USB_SPEED_SUPER)
|
gadget->speed >= USB_SPEED_SUPER)
|
||||||
break;
|
break;
|
||||||
|
fallthrough;
|
||||||
case USB_DT_CONFIG:
|
case USB_DT_CONFIG:
|
||||||
value = config_desc(cdev, w_value);
|
value = config_desc(cdev, w_value);
|
||||||
if (value >= 0)
|
if (value >= 0)
|
||||||
|
|||||||
@ -865,6 +865,7 @@ static int sdp_handle_in_ep(struct spl_image_info *spl_image,
|
|||||||
struct spl_image_info spl_image = {};
|
struct spl_image_info spl_image = {};
|
||||||
struct spl_boot_device bootdev = {};
|
struct spl_boot_device bootdev = {};
|
||||||
spl_parse_image_header(&spl_image, &bootdev, header);
|
spl_parse_image_header(&spl_image, &bootdev, header);
|
||||||
|
spl_board_prepare_for_boot();
|
||||||
jump_to_image_no_args(&spl_image);
|
jump_to_image_no_args(&spl_image);
|
||||||
#else
|
#else
|
||||||
/* In U-Boot, allow jumps to scripts */
|
/* In U-Boot, allow jumps to scripts */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user