mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 10:56:02 +01:00
usb: Update the test to cover reading and writing
Add test coverage for blk_write() as well. The blk_erase() is not tested for now as the USB stor interface does not support erase. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -255,6 +255,16 @@ struct __packed scsi_read10_req {
|
||||
u8 spare2[3];
|
||||
};
|
||||
|
||||
/** struct scsi_write10_req - data for the write10 command */
|
||||
struct __packed scsi_write10_req {
|
||||
u8 cmd;
|
||||
u8 lun_flags;
|
||||
u32 lba;
|
||||
u8 spare;
|
||||
u16 xfer_len;
|
||||
u8 spare2[3];
|
||||
};
|
||||
|
||||
/**
|
||||
* struct scsi_plat - stores information about SCSI controller
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user