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

Fabio Estevam festevam at gmail.com
Sat Feb 3 13:00:35 UTC 2018


On Sat, Feb 3, 2018 at 5:29 AM, Lukasz Majewski <lukma at denx.de> 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)

Nice cleanup:

Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>


More information about the U-Boot mailing list