[U-Boot] [RFC PATCH 5/5] scsi: Simplify scsi_read/scsi_write()
Simon Glass
sjg at chromium.org
Sat Nov 19 14:49:09 CET 2016
On 18 November 2016 at 08:44, Michal Simek <michal.simek at xilinx.com> wrote:
> 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 at xilinx.com>
> ---
>
> common/scsi.c | 27 +++++++++++----------------
> 1 file changed, 11 insertions(+), 16 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list