Skip to content
Snippets Groups Projects
Commit d695d662 authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Tom Rini
Browse files

spl: eMMC/SD: Provide one __weak spl_boot_mode() function


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: default avatarLukasz Majewski <lukma@denx.de>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
Acked-by: Michal Simek <michal.simek@xilinx.com> (For ZynqMP)
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
parent 49232299
No related branches found
No related tags found
No related merge requests found
Showing
with 11 additions and 163 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment