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/bootm.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/bootm.c')
-rw-r--r-- | common/bootm.c | 3 |
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, |