commit | 42fc60ae95eb5cf39075d9435a3e244c459a7792 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jun 11 11:14:34 2013 -0700 |
committer | Tom Rini <trini@ti.com> | Wed Jun 26 10:16:41 2013 -0400 |
tree | 65f0ebe7d8e6a1d6796d3fd471dc447909bfd271 | |
parent | 64f11d06ad4e71518bf0e07b7cc953871636c42e [diff] |
x86: Correct missing local variable in bootm Enabling FIT produces a compile error. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org>
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 @@ } #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) {