summaryrefslogtreecommitdiff
path: root/arch/x86/lib/bootm.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-06-11 11:14:34 -0700
committerTom Rini <trini@ti.com>2013-06-26 10:16:41 -0400
commitbdc7d5cda3510d01153d75d0ceae38466ff865c0 (patch)
tree65f0ebe7d8e6a1d6796d3fd471dc447909bfd271 /arch/x86/lib/bootm.c
parentbc3442aaed26f16a0b9d1caa55cbe3bd94d16a86 (diff)
downloadu-boot-imx-bdc7d5cda3510d01153d75d0ceae38466ff865c0.zip
u-boot-imx-bdc7d5cda3510d01153d75d0ceae38466ff865c0.tar.gz
u-boot-imx-bdc7d5cda3510d01153d75d0ceae38466ff865c0.tar.bz2
x86: Correct missing local variable in bootm
Enabling FIT produces a compile error. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib/bootm.c')
-rw-r--r--arch/x86/lib/bootm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c
index 2520228..0d3250c 100644
--- a/arch/x86/lib/bootm.c
+++ b/arch/x86/lib/bootm.c
@@ -63,6 +63,8 @@ int do_bootm_linux(int flag, int argc, char * const argv[],
}
#if defined(CONFIG_FIT)
} else if (images->fit_uname_os) {
+ int ret;
+
ret = fit_image_get_data(images->fit_hdr_os,
images->fit_noffset_os, &data, &len);
if (ret) {