Re: [U-Boot] [PATCH 04/20] scsi: Add function to report number of scsi drives

2012-10-22 Thread Simon Glass
Hi Rob, On Fri, Oct 19, 2012 at 5:16 AM, Rob Herring wrote: > On 10/18/2012 10:45 PM, Simon Glass wrote: >> From: Stefan Reinauer >> >> Add a new function to find out the number of available SCSI disks. > > Wouldn't setting an environment variable be more useful? Then we can > loop over devices

Re: [U-Boot] [PATCH 04/20] scsi: Add function to report number of scsi drives

2012-10-19 Thread Rob Herring
On 10/18/2012 10:45 PM, Simon Glass wrote: > From: Stefan Reinauer > > Add a new function to find out the number of available SCSI disks. Wouldn't setting an environment variable be more useful? Then we can loop over devices in boot scripts. Rob > > Signed-off-by: Stefan Reinauer > Signed-of

[U-Boot] [PATCH 04/20] scsi: Add function to report number of scsi drives

2012-10-18 Thread Simon Glass
From: Stefan Reinauer Add a new function to find out the number of available SCSI disks. Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass --- common/cmd_scsi.c |7 +++ include/scsi.h|2 ++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/common/cmd_scsi.