projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f971e
)
FIT: Fix handling of images without ramdisks
author
Peter Tyser
<ptyser@xes-inc.com>
Tue, 5 Aug 2008 15:51:57 +0000
(10:51 -0500)
committer
Wolfgang Denk
<wd@denx.de>
Sat, 9 Aug 2008 15:36:06 +0000
(17:36 +0200)
boot_get_ramdisk() should not treat the case when a FIT image does
not contain a ramdisk as an error.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Michal Simek <monstr@monstr.eu>
common/image.c
patch
|
blob
|
history
diff --git
a/common/image.c
b/common/image.c
index 535c302d4efa3363573b569603af4e50546b6614..c3545a7c766f5cdc2d7025c5eb2858e3ea64ea1b 100644
(file)
--- a/
common/image.c
+++ b/
common/image.c
@@
-833,7
+833,7
@@
int boot_get_ramdisk (int argc, char *argv[], bootm_headers_t *images,
rd_noffset = fit_conf_get_ramdisk_node (fit_hdr, cfg_noffset);
if (rd_noffset < 0) {
debug ("* ramdisk: no ramdisk in config\n");
- return
1
;
+ return
0
;
}
}
#endif