spl: mmc: Rename spl_boot_partition() to spl_mmc_boot_partition()
[oweals/u-boot.git] / common / spl / spl_mmc.c
index fb8ad5d5400618eaf12c2db2a29524f71c54e272..a68cdec8dc8f5e15c0751555f9328df76125799a 100644 (file)
@@ -310,8 +310,7 @@ u32 __weak spl_mmc_boot_mode(const u32 boot_device)
 }
 
 #ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
-__weak
-int spl_boot_partition(const u32 boot_device)
+int __weak spl_mmc_boot_partition(const u32 boot_device)
 {
        return CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION;
 }
@@ -431,7 +430,7 @@ int spl_mmc_load_image(struct spl_image_info *spl_image,
                            NULL,
 #endif
 #ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION
-                           spl_boot_partition(bootdev->boot_device),
+                           spl_mmc_boot_partition(bootdev->boot_device),
 #else
                            0,
 #endif