summaryrefslogtreecommitdiffstats
path: root/common/image.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-06-12 07:24:47 -0600
committerTom Rini <trini@ti.com>2014-06-19 11:18:59 -0400
commit126cc864206e0a06635a4bf49b75de8d5a4a80d7 (patch)
tree584b83cfc337069ac727e999f73a86904529bcda /common/image.c
parentb639640371ed38c76602387af865b814967473ba (diff)
downloadblackbird-obmc-uboot-126cc864206e0a06635a4bf49b75de8d5a4a80d7.tar.gz
blackbird-obmc-uboot-126cc864206e0a06635a4bf49b75de8d5a4a80d7.zip
image: Remove the fit_load_image() property parameter
This can be obtained by looking up the image type, so is redundant. It is better to centralise this lookup to avoid errors. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/image.c')
-rw-r--r--common/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c
index f33b17522a..828b0af6d2 100644
--- a/common/image.c
+++ b/common/image.c
@@ -903,7 +903,7 @@ int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images,
#endif
#if defined(CONFIG_FIT)
case IMAGE_FORMAT_FIT:
- rd_noffset = fit_image_load(images, FIT_RAMDISK_PROP,
+ rd_noffset = fit_image_load(images,
rd_addr, &fit_uname_ramdisk,
&fit_uname_config, arch,
IH_TYPE_RAMDISK,
OpenPOWER on IntegriCloud