[U-Boot] [PATCH] arm: sunxi: Enable DM_MMC on required SoCs
Tom Rini
trini at konsulko.com
Tue Apr 9 01:41:49 UTC 2019
On Tue, Apr 09, 2019 at 01:57:54AM +0530, Jagan Teki wrote:
> Enabling DM_MMC is forcing CONFIG_BLK=y so if any board which uses
> SCSI must need to enable DM_SCSI otherwise SCSI reads on that particular
> target making invalid reading to the disk drive.
>
> Allwinner platform do support SCSI on A10, A20 and R40 SoC's out of
> these only A10 have DM_SCSI enabled. So enabling DM_MMC on A20, R40
> would eventually end-up with scsi disk read failures like [1]
>
> So, enable DM_MMC in all places of respective SoC's instead of enabling
> them globally to Allwinner platform.
>
> Now, DM_MMC is enabled in Allwinner SoC's except A20 and R40.
>
> [1] https://lists.denx.de/pipermail/u-boot/2019-April/364057.html
>
> Reported-by: Pablo Sebastián Greco <pgreco at centosproject.org>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
Thanks for coming up with the root cause and a work around quickly!
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190408/c841d586/attachment.sig>
More information about the U-Boot
mailing list