summaryrefslogtreecommitdiff
path: root/board/cm5200
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 /board/cm5200
parent96e5b03c8ab749b6547f6a3ceb4d4b9f274211aa (diff)
downloadu-boot-3e8bd469504f5d5a8800a2ea46d664dde701105b.tar.gz
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 'board/cm5200')
-rw-r--r--board/cm5200/fwupdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cm5200/fwupdate.c b/board/cm5200/fwupdate.c
index d5064c1185..2ed90de9d5 100644
--- a/board/cm5200/fwupdate.c
+++ b/board/cm5200/fwupdate.c
@@ -117,7 +117,7 @@ static int load_rescue_image(ulong addr)
/* Detect partition */
for (partno = -1, i = 0; i < 6; i++) {
- if (get_partition_info(stor_dev, i, &info) == 0) {
+ if (part_get_info(stor_dev, i, &info) == 0) {
if (fat_register_device(stor_dev, i) == 0) {
/* Check if rescue image is present */
FW_DEBUG("Looking for firmware directory '%s'"