]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arch: arm: mach-k3: am642_init: Correct the function name spl_boot_mode() to spl_mmc_...
authorAswath Govindraju <a-govindraju@ti.com>
Mon, 26 Jul 2021 15:28:02 +0000 (20:58 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 27 Jul 2021 05:28:49 +0000 (10:58 +0530)
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
arch/arm/mach-k3/am642_init.c

index 0e46d70e8425b5ff4880d5478bebdee9378ffd11..533905daeb410b4bd07bce20e8665092effd6577 100644 (file)
@@ -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: