From: Maxime Ripard Date: Fri, 29 Jun 2018 09:47:46 +0200 Subject: [U-Boot] [PATCH v2] dm: sunxi: Use DM for MMC and SATA on all A20 boards In-Reply-To: <20180628220639.27004-1-ats@offog.org> References: <20180628220639.27004-1-ats@offog.org> Message-ID: <20180629074746.ot2nwft76jr247c6@flea> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 28, 2018 at 11:06:40PM +0100, Adam Sampson wrote: > Generalise the change in commit 3936514b82e8 ("dm: sunxi: Move > Linksprite_pcDuino3 to use DM for MMC, SATA") so it applies to all A20 > boards: use the driver model for MMC and SATA, in preparation for > CONFIG_BLK defaulting to y. > > Tested on Linksprite pcDuino3 Nano. > > Signed-off-by: Adam Sampson > --- > Changes for v2: > - at Maxime's suggestion, enabled by default at the Kconfig level for > all A20 boards (which means the one board Simon updated previously > doesn't need to specify them any more) > > arch/arm/mach-sunxi/Kconfig | 2 ++ > configs/Linksprite_pcDuino3_defconfig | 2 -- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig > index a3f7723028..78f76f52d0 100644 > --- a/arch/arm/mach-sunxi/Kconfig > +++ b/arch/arm/mach-sunxi/Kconfig > @@ -174,6 +174,8 @@ config MACH_SUN7I > select CPU_V7_HAS_NONSEC > select CPU_V7_HAS_VIRT > select ARCH_SUPPORT_PSCI > + select DM_MMC > + select DM_SCSI if SCSI I guess we would need an if MMC for DM_MMC, there's some boards without MMC support, but once that is fixed: Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: