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 <quic_varada@quicinc.com>
This commit is contained in:
Varadarajan Narayanan
2025-04-01 15:39:59 +05:30
committed by Tom Rini
parent 6a5177a58c
commit 7dd49a9264
3 changed files with 96 additions and 1 deletions

View File

@@ -60,7 +60,8 @@ U_BOOT_CMD(
"scsi read addr blk# cnt - read `cnt' blocks starting at block `blk#'\n"
" to memory address `addr'\n"
"scsi write addr blk# cnt - write `cnt' blocks starting at block\n"
" `blk#' from memory address `addr'"
" `blk#' from memory address `addr'\n"
"scsi erase blk# cnt - erase `cnt' blocks starting at block `blk#'"
);
U_BOOT_CMD(