瀏覽代碼

dm: sunxi: Use DM for MMC and SATA on all A10 boards

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>
Adam Sampson 6 年之前
父節點
當前提交
df63fcc06f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/arm/mach-sunxi/Kconfig

+ 2 - 0
arch/arm/mach-sunxi/Kconfig

@@ -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