]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: sunxi: Enable DM_MMC on required SoCs
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 8 Apr 2019 20:27:54 +0000 (01:57 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 8 Apr 2019 20:35:15 +0000 (16:35 -0400)
commit85c3d4632248ec2526ee76b1f046f0b47c125014
tree145cb359fff1cfcaa1135f8eeaa4d5bdf166f067
parentc48b07a9fde187540630ff756cbba1101eb17310
arm: sunxi: Enable DM_MMC on required SoCs

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@centosproject.org>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/Kconfig
arch/arm/mach-sunxi/Kconfig