diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-05 11:22:28 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-05 11:22:28 +0200 |
commit | cbf9c117282b8729bdb86071997b58fcab58c444 (patch) | |
tree | ff9175f1d987c49ef8b3b334bffae4f35ca8b759 /common/cmd_scsi.c | |
parent | a99a0a98b9fcf78ee2ceda893e8d4bd9b11e427a (diff) | |
parent | 2c61f14c60ccc5a1c90205991bf555872887a831 (diff) | |
download | u-boot-imx-cbf9c117282b8729bdb86071997b58fcab58c444.zip u-boot-imx-cbf9c117282b8729bdb86071997b58fcab58c444.tar.gz u-boot-imx-cbf9c117282b8729bdb86071997b58fcab58c444.tar.bz2 |
Merge with /home/wd/git/u-boot/master
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 7ee9d8e..ec53790 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) */ |