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 commite97590654a. Therefore, rename spl_boot_mode to spl_mmc_boot_mode. Fixes:57dba04afb("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
This commit is contained in:
committed by
Lokesh Vutla
parent
159c901c60
commit
2140d6b0ff
@@ -198,7 +198,7 @@ void board_init_f(ulong dummy)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 spl_boot_mode(const u32 boot_device)
|
u32 spl_mmc_boot_mode(const u32 boot_device)
|
||||||
{
|
{
|
||||||
switch (boot_device) {
|
switch (boot_device) {
|
||||||
case BOOT_DEVICE_MMC1:
|
case BOOT_DEVICE_MMC1:
|
||||||
|
|||||||
Reference in New Issue
Block a user