mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
cmd/scsi: drop scsi reset command
Since commit b630f8b3ae ("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 <dlechner@baylibre.com>
This commit is contained in:
@@ -38,16 +38,6 @@ def scsi_setup(ubman):
|
||||
|
||||
return dev_num, dev_type, dev_size
|
||||
|
||||
@pytest.mark.buildconfigspec('cmd_scsi')
|
||||
def test_scsi_reset(ubman):
|
||||
dev_num, dev_type, dev_size = scsi_setup(ubman)
|
||||
output = ubman.run_command('scsi reset')
|
||||
assert f'Device {dev_num}:' in output
|
||||
assert f'Type: {dev_type}' in output
|
||||
assert f'Capacity: {dev_size}' in output
|
||||
output = ubman.run_command('echo $?')
|
||||
assert output.endswith('0')
|
||||
|
||||
@pytest.mark.buildconfigspec('cmd_scsi')
|
||||
def test_scsi_info(ubman):
|
||||
dev_num, dev_type, dev_size = scsi_setup(ubman)
|
||||
|
||||
Reference in New Issue
Block a user