diff options
| author | Varadarajan Narayanan <[email protected]> | 2025-04-01 15:39:59 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-04-10 20:55:53 -0600 |
| commit | 7dd49a9264a6de349343a873e465e1a5fcd459e3 (patch) | |
| tree | a386ed0b4b4b9fe1380eb8a5f7c31e4bf3503781 /include | |
| parent | 6a5177a58cd481792a652bc7b5c34ed5e76381e0 (diff) | |
drivers: scsi: Add 'erase' support
UFS devices uses the block and scsi frameworks. Enable UFS erase
support by adding erase support to SCSI.
Signed-off-by: Varadarajan Narayanan <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/scsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi.h b/include/scsi.h index b18ae37b861..ab53b47b58f 100644 --- a/include/scsi.h +++ b/include/scsi.h @@ -9,6 +9,7 @@ #include <asm/cache.h> #include <bouncebuf.h> #include <linux/dma-direction.h> +#include <part.h> struct udevice; @@ -181,6 +182,7 @@ struct scsi_cmd { #define SCSI_WRT_VERIFY 0x2E /* Write and Verify (O) */ #define SCSI_WRITE_LONG 0x3F /* Write Long (O) */ #define SCSI_WRITE_SAME 0x41 /* Write Same (O) */ +#define SCSI_UNMAP 0x42 /* Write 10-Byte (MANDATORY) */ /** * enum scsi_cmd_phase - current phase of the SCSI protocol |
