diff options
author | Simon Glass <sjg@chromium.org> | 2014-06-12 07:24:47 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-19 11:18:59 -0400 |
commit | 126cc864206e0a06635a4bf49b75de8d5a4a80d7 (patch) | |
tree | 584b83cfc337069ac727e999f73a86904529bcda /common/image.c | |
parent | b639640371ed38c76602387af865b814967473ba (diff) | |
download | u-boot-imx-126cc864206e0a06635a4bf49b75de8d5a4a80d7.zip u-boot-imx-126cc864206e0a06635a4bf49b75de8d5a4a80d7.tar.gz u-boot-imx-126cc864206e0a06635a4bf49b75de8d5a4a80d7.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c index f33b175..828b0af 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, |