From: Simon Glass Date: Tue, 11 Jun 2013 18:14:34 +0000 (-0700) Subject: x86: Correct missing local variable in bootm X-Git-Tag: v2013.07-rc2~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bdc7d5cda3510d01153d75d0ceae38466ff865c0;p=u-boot x86: Correct missing local variable in bootm Enabling FIT produces a compile error. Fix this. Signed-off-by: Simon Glass --- diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c index 2520228b4c..0d3250cfa3 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) {