[PATCH 1/2] spl: mmc: Rename spl_boot_mode() to spl_mmc_boot_mode()
Patrick DELAUNAY
patrick.delaunay at st.com
Tue Apr 21 14:36:28 CEST 2020
Hi Harald,
> From: Harald Seiler <hws at denx.de>
> Sent: mercredi 15 avril 2020 11:34
>
> 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: Patrick Delaunay <patrick.delaunay at st.com>
Thanks
Patrick
More information about the U-Boot
mailing list