diff options
| author | David Lechner <[email protected]> | 2026-03-26 15:39:52 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-04-08 11:07:00 -0600 |
| commit | 8191d234571e39a49490ab3301cea0106a4ebeb3 (patch) | |
| tree | efd7e66220ce16fd66998dec7fa897e123bcb714 /cmd | |
| parent | a383c9689282269bb9687ec6c115de094c27fa67 (diff) | |
cmd/scsi: drop scsi reset command
Since commit b630f8b3aefc ("scsi: Forceably finish migration to DM_SCSI")
the "scsi reset" command has no possibility of actually resetting any
SCSI controller. Drop the command to avoid confusion that the command is
actually resetting the SCSI controller.
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/scsi.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/scsi.c b/cmd/scsi.c index 9f7613424e5..ad7d8a4b664 100644 --- a/cmd/scsi.c +++ b/cmd/scsi.c @@ -31,13 +31,6 @@ static int do_scsi(struct cmd_tbl *cmdtp, int flag, int argc, int ret; if (argc == 2) { - if (strncmp(argv[1], "res", 3) == 0) { - printf("\nReset SCSI\n"); - ret = scsi_scan(true); - if (ret) - return CMD_RET_FAILURE; - return ret; - } if (strncmp(argv[1], "scan", 4) == 0) { ret = scsi_scan(true); if (ret) @@ -52,7 +45,6 @@ static int do_scsi(struct cmd_tbl *cmdtp, int flag, int argc, U_BOOT_CMD( scsi, 5, 1, do_scsi, "SCSI sub-system", - "reset - reset SCSI controller\n" "scsi info - show available SCSI devices\n" "scsi scan - (re-)scan SCSI bus\n" "scsi device [dev] - show or set current device\n" |
