mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
- Two USB gadget fixes
This commit is contained in:
commit
02f8486b9f
2 changed files with 2 additions and 1 deletions
|
@ -1068,7 +1068,7 @@ composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
|
|||
if (!gadget_is_dualspeed(gadget) ||
|
||||
gadget->speed >= USB_SPEED_SUPER)
|
||||
break;
|
||||
|
||||
fallthrough;
|
||||
case USB_DT_CONFIG:
|
||||
value = config_desc(cdev, w_value);
|
||||
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_boot_device bootdev = {};
|
||||
spl_parse_image_header(&spl_image, &bootdev, header);
|
||||
spl_board_prepare_for_boot();
|
||||
jump_to_image_no_args(&spl_image);
|
||||
#else
|
||||
/* In U-Boot, allow jumps to scripts */
|
||||
|
|
Loading…
Reference in a new issue