aboutsummaryrefslogtreecommitdiff
path: root/include/scsi.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-11-18 16:22:42 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-12-02 14:37:22 +0100
commitcdb93b276ba1e477728befb36bcee17fcb770ffd (patch)
tree800e485341910e53dd9c209e7097e0c908e7bd89 /include/scsi.h
parentbccfd9e9675fffa95e370b3fb02b14832c4f4bf7 (diff)
downloadu-boot-cdb93b276ba1e477728befb36bcee17fcb770ffd.zip
u-boot-cdb93b276ba1e477728befb36bcee17fcb770ffd.tar.gz
u-boot-cdb93b276ba1e477728befb36bcee17fcb770ffd.tar.bz2
scsi: Simplify scsi_read/scsi_write()
There is no reason to directly point to static allocated array when we have proper block_dev pointer available via parameter in !CONFIG_BLK. For CONFIG_BLK this is read directly from uclass platdata. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/scsi.h')
0 files changed, 0 insertions, 0 deletions