]> git.baikalelectronics.ru Git - uboot.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)
commit3e69771979fffba1497be8232948f31a6f688b34
tree145cb359fff1cfcaa1135f8eeaa4d5bdf166f067
parentc56d2657ea1db8cbae87ca52c197548ab8365cd8
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