[U-Boot] [U-Boot, v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

Tom Rini trini at konsulko.com
Thu Feb 8 12:27:18 UTC 2018


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 <lukma at denx.de>
> Reviewed-by: Marek Vasut <marex at denx.de>
> Reviewed-by: Stefano Babic <sbabic at denx.de>
> Acked-by: Michal Simek <michal.simek at xilinx.com> (For ZynqMP)
> Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20180208/20f235e3/attachment.sig>


More information about the U-Boot mailing list