]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: storage: Use the correct CBW lengths
authorHector Martin <marcan@marcan.st>
Sun, 29 Oct 2023 07:23:30 +0000 (16:23 +0900)
committerMarek Vasut <marex@denx.de>
Fri, 1 Dec 2023 13:06:12 +0000 (14:06 +0100)
commit75aabe595f2641a671a2da7e304e4779084a4238
tree234f745839f2ab79a18168ae868fc042fe0926b0
parentb5999f8f6ca89223b70ec3038fcfe9dbb6c67475
usb: storage: Use the correct CBW lengths

USB UFI uses fixed 12-byte commands (as does RBC, which is not
supported), but SCSI does not have this limitation. Use the correct
command block lengths depending on the subclass.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Marek Vasut <marex@denx.de>
common/usb_storage.c