commit | cdb93b276ba1e477728befb36bcee17fcb770ffd | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Fri Nov 18 16:22:42 2016 +0100 |
committer | Michal Simek <michal.simek@xilinx.com> | Fri Dec 02 14:37:22 2016 +0100 |
tree | 800e485341910e53dd9c209e7097e0c908e7bd89 | |
parent | bccfd9e9675fffa95e370b3fb02b14832c4f4bf7 [diff] |
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>