[PATCH 1/2] spl: mmc: Rename spl_boot_mode() to spl_mmc_boot_mode()
Simon Glass
sjg at chromium.org
Mon Apr 20 01:37:25 CEST 2020
On Wed, 15 Apr 2020 at 03:35, Harald Seiler <hws at denx.de> wrote:
>
> The function's name is misleading as one might think it is used
> generally to select the boot-mode when in reality it is only used by the
> MMC driver to find out in what way it should try reading U-Boot Proper
> from a device (either using a filesystem, a raw sector/partition, or an
> eMMC boot partition).
>
> Rename it to spl_mmc_boot_mode() to make it more obvious what this
> function is about.
>
> Link: https://lists.denx.de/pipermail/u-boot/2020-April/405979.html
> Signed-off-by: Harald Seiler <hws at denx.de>
> ---
> include/spl.h | 18 +++++++++++++++++-
> common/spl/spl_mmc.c | 4 ++--
> arch/arm/mach-imx/spl.c | 2 +-
> arch/arm/mach-k3/am6_init.c | 2 +-
> arch/arm/mach-k3/j721e_init.c | 2 +-
> arch/arm/mach-omap2/boot-common.c | 2 +-
> arch/arm/mach-rockchip/spl.c | 2 +-
> arch/arm/mach-socfpga/spl_a10.c | 2 +-
> arch/arm/mach-socfpga/spl_agilex.c | 2 +-
> arch/arm/mach-socfpga/spl_gen5.c | 2 +-
> arch/arm/mach-socfpga/spl_s10.c | 2 +-
> arch/arm/mach-stm32mp/spl.c | 2 +-
> arch/arm/mach-uniphier/mmc-boot-mode.c | 2 +-
> 13 files changed, 30 insertions(+), 14 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list