diff options
author | Dan Murphy <dmurphy@ti.com> | 2014-02-03 06:59:01 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 10:47:43 -0500 |
commit | fff40a7e02092eee11970e7001c8560df419cac1 (patch) | |
tree | 503236e40ccc5a43f559ecf1ab61e216e73d0780 /common/cmd_scsi.c | |
parent | 054c8388345184e38c7bd7f64a529fa346b63df2 (diff) |
common: spl: Add spl sata boot support
Add spl_sata to read a fat partition from a bootable SATA
drive.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>
Diffstat (limited to 'common/cmd_scsi.c')
-rw-r--r-- | common/cmd_scsi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_scsi.c b/common/cmd_scsi.c index 7b97dc9332b..b3f7687aee6 100644 --- a/common/cmd_scsi.c +++ b/common/cmd_scsi.c @@ -168,7 +168,9 @@ removable: scsi_curr_dev = -1; printf("Found %d device(s).\n", scsi_max_devs); +#ifndef CONFIG_SPL_BUILD setenv_ulong("scsidevs", scsi_max_devs); +#endif } int scsi_get_disk_count(void) |