arm: sunxi: Enable DM_MMC
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 29 Jan 2019 15:54:15 +0000 (15:54 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 30 Jan 2019 12:52:18 +0000 (18:22 +0530)
Enable DM_MMC for all Allwinner SoCs, this will eventually
enable BLK.

Also removed DM_MMC enablement in few parts of sunxi
configurations.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/Kconfig
arch/arm/mach-sunxi/Kconfig
configs/Linksprite_pcDuino3_defconfig

index cefa8f40d05cd57051df766872501da324e4cb5a..f0edb10003baab373aadb6c0985a3960201bac87 100644 (file)
@@ -851,6 +851,7 @@ config ARCH_SUNXI
        select DM_ETH
        select DM_GPIO
        select DM_KEYBOARD
+       select DM_MMC if MMC
        select DM_SERIAL
        select DM_USB if DISTRO_DEFAULTS
        select OF_BOARD_SETUP
index 3c54f5106ddb49ea5dda0f5418a9cc00348e5fe5..74e234cded75c76823a9f0160c4367b561bcb17b 100644 (file)
@@ -154,7 +154,6 @@ config MACH_SUN4I
        bool "sun4i (Allwinner A10)"
        select CPU_V7A
        select ARM_CORTEX_CPU_IS_UP
-       select DM_MMC if MMC
        select DM_SCSI if SCSI
        select PHY_SUN4I_USB
        select DRAM_SUN4I
index 9156f132d1f2d789a3d6c7f1ead1703c36c203b9..18f658e96b1efcc12ee19dacd11e48a92233709a 100644 (file)
@@ -14,7 +14,6 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3"
 CONFIG_SCSI_AHCI=y
-CONFIG_DM_MMC=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
 CONFIG_SUN7I_GMAC=y