summaryrefslogtreecommitdiff
path: root/common/bootm.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/bootm.c
parentb639640371ed38c76602387af865b814967473ba (diff)
downloadu-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/bootm.c')
-rw-r--r--common/bootm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/bootm.c b/common/bootm.c
index 27a7f02..338f647 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -776,8 +776,7 @@ static const void *boot_get_kernel(cmd_tbl_t *cmdtp, int flag, int argc,
#endif
#if defined(CONFIG_FIT)
case IMAGE_FORMAT_FIT:
- os_noffset = fit_image_load(images, FIT_KERNEL_PROP,
- img_addr,
+ os_noffset = fit_image_load(images, img_addr,
&fit_uname_kernel, &fit_uname_config,
IH_ARCH_DEFAULT, IH_TYPE_KERNEL,
BOOTSTAGE_ID_FIT_KERNEL_START,