diff options
| author | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-04 01:14:12 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-04 01:14:12 +0200 | 
| commit | 460c322f13ec0e20d3ac72fe375873458999e43a (patch) | |
| tree | 0e193a8c0c7d204d4de0b272816f0979bd156ab1 /common/cmd_scsi.c | |
| parent | c43352ccfa1ebeb15da26e52bcb152f614cbfe0a (diff) | |
| download | olio-uboot-2014.01-460c322f13ec0e20d3ac72fe375873458999e43a.tar.xz olio-uboot-2014.01-460c322f13ec0e20d3ac72fe375873458999e43a.zip | |
(re)enabled scsi commands do_scsi() and do_scsiboot()
Patch by Denis Peter, 06 Dec 2004
Diffstat (limited to 'common/cmd_scsi.c')
| -rw-r--r-- | common/cmd_scsi.c | 19 | 
1 files changed, 19 insertions, 0 deletions
| diff --git a/common/cmd_scsi.c b/common/cmd_scsi.c index 7ee9d8efb..ec53790f8 100644 --- a/common/cmd_scsi.c +++ b/common/cmd_scsi.c @@ -585,4 +585,23 @@ void scsi_setup_inquiry(ccb * pccb)  	pccb->msgout[0]=SCSI_IDENTIFY; /* NOT USED */  } + +U_BOOT_CMD( +	scsi, 5, 1, do_scsi, +	"scsi    - SCSI sub-system\n", +	"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" +	"scsi part [dev] - print partition table of one or all SCSI devices\n" +	"scsi read addr blk# cnt - read `cnt' blocks starting at block `blk#'\n" +	"     to memory address `addr'\n" +); + +U_BOOT_CMD( +	scsiboot, 3, 1, do_scsiboot, +	"scsiboot- boot from SCSI device\n", +	"loadAddr dev:part\n" +); +  #endif /* #if (CONFIG_COMMANDS & CFG_CMD_SCSI) */ |