[U-Boot] [PATCH] dm: scsi: if_typename should be scsi
George McCollister
george.mccollister at gmail.com
Thu Jun 2 22:41:27 CEST 2016
I was having this problem on the Minnowboard Max with the defconfig
and this fixes it.
Tested-by: George McCollister <george.mccollister at gmail.com>
Thanks,
George
On Wed, Jun 1, 2016 at 8:11 AM, Ed Swarthout <Ed.Swarthout at nxp.com> wrote:
> 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 at nxp.com>
> ---
> This looks like a typeo from 11f610edf01abc96ca10e82e1752648ee911705b
>
> common/scsi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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,
> --
> 2.5.0
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
More information about the U-Boot
mailing list