From: Patrick DELAUNAY Date: Tue, 21 Apr 2020 12:36:28 +0000 Subject: [PATCH 1/2] spl: mmc: Rename spl_boot_mode() to spl_mmc_boot_mode() In-Reply-To: <20200415093331.75557-2-hws@denx.de> References: <20200415093331.75557-1-hws@denx.de> <20200415093331.75557-2-hws@denx.de> Message-ID: <5f021cf8e4a348f5ba29beebc77199a8@SFHDAG6NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Harald, > From: Harald Seiler > 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 > --- > 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 Thanks Patrick