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

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