[U-Boot] [PATCH 2/2] dm: sunxi: Use DM for MMC and SATA on all A10 boards
Adam Sampson
ats at offog.org
Sat Jun 30 00:02:29 UTC 2018
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 at offog.org>
---
I imagine an A13 version (no DM_SCSI needed) would work as well, but I
don't have an A13 machine to test with.
arch/arm/mach-sunxi/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 8f70c6750e..a77815c239 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -139,6 +139,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
--
2.18.0
More information about the U-Boot
mailing list