diff options
author | Aswath Govindraju <a-govindraju@ti.com> | 2021-07-26 20:58:02 +0530 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2021-07-27 10:58:49 +0530 |
commit | 2140d6b0ff87f93d6a96c1d29bb3fefa0ac1b397 (patch) | |
tree | 26b538c256fa79dd1af8d774818a28eae567ec67 /arch | |
parent | 159c901c60e078dea588d2efc2def8214496df24 (diff) | |
download | u-boot-2140d6b0ff87f93d6a96c1d29bb3fefa0ac1b397.zip u-boot-2140d6b0ff87f93d6a96c1d29bb3fefa0ac1b397.tar.gz u-boot-2140d6b0ff87f93d6a96c1d29bb3fefa0ac1b397.tar.bz2 |
arch: arm: mach-k3: am642_init: Correct the function name spl_boot_mode() to spl_mmc_boot_mode()
Function spl_boot_mode() is called in common/spl/spl_mmc.c, to find the
boot mode for a given boot device. This function was renamed to
spl_mmc_boot_mode() by commit e97590654aea4c964f49bd915543a417d0c76996.
Therefore, rename spl_boot_mode to spl_mmc_boot_mode.
Fixes: 57dba04afbb7 ("arm: mach-k3: am642: Add support for boot device detection")
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210726152807.22991-2-a-govindraju@ti.com
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-k3/am642_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c index 0e46d70..533905d 100644 --- a/arch/arm/mach-k3/am642_init.c +++ b/arch/arm/mach-k3/am642_init.c @@ -198,7 +198,7 @@ void board_init_f(ulong dummy) #endif } -u32 spl_boot_mode(const u32 boot_device) +u32 spl_mmc_boot_mode(const u32 boot_device) { switch (boot_device) { case BOOT_DEVICE_MMC1: |