dm: scsi: if_typename should be scsi
authorEd Swarthout <Ed.Swarthout@nxp.com>
Wed, 1 Jun 2016 13:11:24 +0000 (08:11 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2016 17:39:12 +0000 (13:39 -0400)
Fixes:

=> ext2ls scsi 0:1
** Bad device scsi 0:1 **

for boards which use the scsi legacy driver (such as ls1043ardb).

Signed-off-by: Ed Swarthout <Ed.Swarthout@nxp.com>
Tested-by: George McCollister <george.mccollister@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/scsi.c

index 8ac28dd416602b61920c570cd0083666ef7accea..dbbf4043b22a2a6381fdfaeb48ebf4d5c32062c8 100644 (file)
@@ -584,7 +584,7 @@ U_BOOT_DRIVER(scsi_blk) = {
 };
 #else
 U_BOOT_LEGACY_BLK(scsi) = {
-       .if_typename    = "sata",
+       .if_typename    = "scsi",
        .if_type        = IF_TYPE_SCSI,
        .max_devs       = CONFIG_SYS_SCSI_MAX_DEVICE,
        .desc           = scsi_dev_desc,