summaryrefslogtreecommitdiffstats
path: root/common/spl/spl_mmc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-29 15:25:48 -0700
committerSimon Glass <sjg@chromium.org>2016-03-14 15:34:50 -0600
commit3e8bd469504f5d5a8800a2ea46d664dde701105b (patch)
tree5ed523093dd9bc779a4ca5a762e3177396829979 /common/spl/spl_mmc.c
parent96e5b03c8ab749b6547f6a3ceb4d4b9f274211aa (diff)
downloadblackbird-obmc-uboot-3e8bd469504f5d5a8800a2ea46d664dde701105b.tar.gz
blackbird-obmc-uboot-3e8bd469504f5d5a8800a2ea46d664dde701105b.zip
dm: part: Rename some partition functions
Rename three partition functions so that they start with part_. This makes it clear what they relate to. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'common/spl/spl_mmc.c')
-rw-r--r--common/spl/spl_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index c27a250251..5204f5258f 100644
--- a/common/spl/spl_mmc.c
+++ b/common/spl/spl_mmc.c
@@ -122,7 +122,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");
OpenPOWER on IntegriCloud