- Two USB gadget fixes
This commit is contained in:
Tom Rini 2023-04-03 20:49:03 -04:00
commit 02f8486b9f
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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 */