X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fspl%2Fspl_mmc.c;h=c0e76be09abb48d67579e589f1befe704eae7a97;hb=88033d737d9f46e7eebda6a8f9770957eb9aae9c;hp=94821421dcde959a227d045f7fd1dc4260503aa7;hpb=9f0f432c0aea1e70959a0c06938459d3175a36b0;p=u-boot diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index 94821421dc..c0e76be09a 100644 --- a/common/spl/spl_mmc.c +++ b/common/spl/spl_mmc.c @@ -161,7 +161,7 @@ static int mmc_load_image_raw_partition(struct mmc *mmc, int partition) disk_partition_t info; int err; - err = get_partition_info(&mmc->block_dev, partition, &info); + err = part_get_info(&mmc->block_dev, partition, &info); if (err) { #ifdef CONFIG_SPL_LIBCOMMON_SUPPORT puts("spl: partition error\n");