]> git.dujemihanovic.xyz Git - u-boot.git/commit
scsi: Add function and env var to report number of scsi drives
authorStefan Reinauer <reinauer@chromium.org>
Mon, 29 Oct 2012 05:23:48 +0000 (05:23 +0000)
committerTom Rini <trini@ti.com>
Fri, 2 Nov 2012 22:20:40 +0000 (15:20 -0700)
commit447c031ba4b6b306bb3f77690af06f5d2ad0691b
tree53c2de2d3ddc343acdd06c700ec2a034ad1f06f5
parentc4fa493d3a822757af8fbcdc516e12bb7f72d071
scsi: Add function and env var to report number of scsi drives

Add a new function to find out the number of available SCSI disks. Also
set the 'scsidevs' environment variable after each scan.

Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
README
common/cmd_scsi.c
include/scsi.h