projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3442a
)
x86: Correct missing local variable in bootm
author
Simon Glass
<sjg@chromium.org>
Tue, 11 Jun 2013 18:14:34 +0000
(11:14 -0700)
committer
Tom Rini
<trini@ti.com>
Wed, 26 Jun 2013 14:16:41 +0000
(10:16 -0400)
Enabling FIT produces a compile error. Fix this.
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/bootm.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/bootm.c
b/arch/x86/lib/bootm.c
index 2520228b4caee000f580e461dcb9294d375b7cac..0d3250cfa304da27c10dfb12694c9331b1f11d52 100644
(file)
--- 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) {