summaryrefslogtreecommitdiff
path: root/include/scsi.h
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2012-10-29 05:23:53 +0000
committerTom Rini <trini@ti.com>2012-11-02 15:20:41 -0700
commitb7a21b70d0d3f94d7ab3ed84fbf68d2e2b7488bf (patch)
treef44255e1807665082cba22f90180c3162e6e14e4 /include/scsi.h
parente81058c05b762e6da012a7a3c22ee25c6c0bf71e (diff)
downloadu-boot-imx-b7a21b70d0d3f94d7ab3ed84fbf68d2e2b7488bf.zip
u-boot-imx-b7a21b70d0d3f94d7ab3ed84fbf68d2e2b7488bf.tar.gz
u-boot-imx-b7a21b70d0d3f94d7ab3ed84fbf68d2e2b7488bf.tar.bz2
ahci: support scsi writing in AHCI driver
The "scsi write" command requires support from underlying driver. This CL enables SCSI_WRITE10 in AHCI driver. Tested in U-Boot console, try to i/o with sector #64: scsi read 1000 40 1 md.b 1000 200 # check if things are not 0xcc mw.b 1000 cc 200 # try to fill with 0xcc scsi write 1000 40 1 mw.b 1000 0 200 # fill with zero md.b 1000 200 # should be all 0 scsi read 1000 40 1 md.b 1000 200 # should be all 0xcc Signed-off-by: Hung-Te Lin <hungte@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/scsi.h')
0 files changed, 0 insertions, 0 deletions