]> git.sur5r.net Git - u-boot/commitdiff
dm: sunxi: Use DM for MMC and SATA on all A10 boards
authorAdam Sampson <ats@offog.org>
Sat, 30 Jun 2018 00:02:29 +0000 (01:02 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 16 Jul 2018 06:56:00 +0000 (12:26 +0530)
Use the driver model for MMC and SATA, in preparation for CONFIG_BLK
defaulting to y.

Tested on A10 Cubieboard.

Signed-off-by: Adam Sampson <ats@offog.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
arch/arm/mach-sunxi/Kconfig

index 3624a03947f6a9157de69744b90a0a9413aa32b4..678e33dd40e8bb6501960fd47a9d4546562cbb67 100644 (file)
@@ -142,6 +142,8 @@ 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
        select SUNXI_GEN_SUN4I