From: Tom Rini Date: Thu, 8 Feb 2018 07:27:18 -0500 Subject: [U-Boot] [U-Boot, v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function In-Reply-To: <20180203072952.5459-1-lukma@denx.de> References: <20180203072952.5459-1-lukma@denx.de> Message-ID: <20180208122718.GK4297@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Feb 03, 2018 at 08:29:52AM +0100, Lukasz Majewski wrote: > The goal of this patch is to clean up the code related to choosing SPL > MMC boot mode. > > The spl_boot_mode() now is called only in spl_mmc_load_image() function, > which is only compiled in if CONFIG_SPL_MMC_SUPPORT is enabled. > > To achieve the goal, all per mach/arch implementations eligible for > unification has been replaced with one __weak implementation. > > Signed-off-by: Lukasz Majewski > Reviewed-by: Marek Vasut > Reviewed-by: Stefano Babic > Acked-by: Michal Simek (For ZynqMP) > Reviewed-by: Fabio Estevam Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: