aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp
diff options
context:
space:
mode:
authorHarald Seiler <hws@denx.de>2020-04-15 11:33:31 +0200
committerPeng Fan <peng.fan@nxp.com>2020-04-22 20:41:57 +0800
commitc51b7518931a147c3e024bcc0c44f87dc197ac89 (patch)
tree7eb4905529c1c65e2cd432f438e7c7f580d96a24 /arch/arm/mach-stm32mp
parente97590654aea4c964f49bd915543a417d0c76996 (diff)
downloadu-boot-c51b7518931a147c3e024bcc0c44f87dc197ac89.zip
u-boot-c51b7518931a147c3e024bcc0c44f87dc197ac89.tar.gz
u-boot-c51b7518931a147c3e024bcc0c44f87dc197ac89.tar.bz2
spl: mmc: Rename spl_boot_partition() to spl_mmc_boot_partition()
This function is only relevant to the MMC driver so calling it spl_boot_partition() might be confusing. Rename it to spl_mmc_boot_partition() to make its purpose more clear (and bring it in line with spl_mmc_boot_mode()). Signed-off-by: Harald Seiler <hws@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-stm32mp')
-rw-r--r--arch/arm/mach-stm32mp/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/spl.c b/arch/arm/mach-stm32mp/spl.c
index 55ff97d..f85391c 100644
--- a/arch/arm/mach-stm32mp/spl.c
+++ b/arch/arm/mach-stm32mp/spl.c
@@ -49,7 +49,7 @@ u32 spl_mmc_boot_mode(const u32 boot_device)
return MMCSD_MODE_RAW;
}
-int spl_boot_partition(const u32 boot_device)
+int spl_mmc_boot_partition(const u32 boot_device)
{
switch (boot_device) {
case BOOT_DEVICE_MMC1: