Merge branch 'u-boot-sh/rmobile' into 'u-boot-arm/master'
[platform/kernel/u-boot.git] / common / cmd_scsi.c
index 7b97dc9..b3f7687 100644 (file)
@@ -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)