From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Fri, 26 Apr 2019 09:45:48 +0000 (UTC) Subject: [U-Boot] [U-Boot,V2,4/5] pico-imx7d: Convert DM MMC In-Reply-To: <1554379256-24701-5-git-send-email-offougajoris@gmail.com> Message-ID: <20190426095836.E8C30C21F1D@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > This patch enable convert DM MMC for imx7d-pico board and variant. > Before the DM conversion only usdhc3 was enabled and therefore it appeared > as MMC 0 to u-boot. After enabling MMC DM though usdhc3 defaults to MMC 2, > which left unattended would drive changes to existing pico-pi bootscripts and > environment variables that rely on mmc 0. > Setup the alias of mmc0 and usdhc3 so that existing pico-imx7d boot code will > work unmodified. > When converting to DM_MMC it is necessary that SPL initializes eMMC > by itself, so move the original eMMC initialization from U-Boot > proper to SPL. > Signed-off-by: Joris Offouga > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================