aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Swarthout <Ed.Swarthout@nxp.com>2016-06-01 08:11:24 -0500
committerTom Rini <trini@konsulko.com>2016-06-06 13:39:12 -0400
commit69c125fe7b7dd057ed3e9013e6786b9f374cf8cd (patch)
treecdff0c2fd08e8fa33be0c769a541b35be6a3b20f
parentffd859979e2a84bccc14188d9fa760b2e4813515 (diff)
downloadu-boot-69c125fe7b7dd057ed3e9013e6786b9f374cf8cd.zip
u-boot-69c125fe7b7dd057ed3e9013e6786b9f374cf8cd.tar.gz
u-boot-69c125fe7b7dd057ed3e9013e6786b9f374cf8cd.tar.bz2
dm: scsi: if_typename should be scsi
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>
-rw-r--r--common/scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/scsi.c b/common/scsi.c
index 8ac28dd..dbbf404 100644
--- a/common/scsi.c
+++ b/common/scsi.c
@@ -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,