]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: mmc: Rename spl_boot_mode() to spl_mmc_boot_mode()
authorHarald Seiler <hws@denx.de>
Wed, 15 Apr 2020 09:33:30 +0000 (11:33 +0200)
committerPeng Fan <peng.fan@nxp.com>
Wed, 22 Apr 2020 12:41:57 +0000 (20:41 +0800)
commite97590654aea4c964f49bd915543a417d0c76996
tree526b5e72cc127a12aed7a83222fc471808097341
parent4a66d4ee336048b51bf5701a2abfac9a79c5a860
spl: mmc: Rename spl_boot_mode() to spl_mmc_boot_mode()

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@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
13 files changed:
arch/arm/mach-imx/spl.c
arch/arm/mach-k3/am6_init.c
arch/arm/mach-k3/j721e_init.c
arch/arm/mach-omap2/boot-common.c
arch/arm/mach-rockchip/spl.c
arch/arm/mach-socfpga/spl_a10.c
arch/arm/mach-socfpga/spl_agilex.c
arch/arm/mach-socfpga/spl_gen5.c
arch/arm/mach-socfpga/spl_s10.c
arch/arm/mach-stm32mp/spl.c
arch/arm/mach-uniphier/mmc-boot-mode.c
common/spl/spl_mmc.c
include/spl.h