]> git.dujemihanovic.xyz Git - u-boot.git/commit
FIS: repare incorrect return value with ramdisk handling
authorMichal Simek <monstr@monstr.eu>
Fri, 11 Jul 2008 08:43:13 +0000 (10:43 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 13 Jul 2008 13:23:12 +0000 (15:23 +0200)
commitc78fce699c7ff467ecd841da6a79f065180bf578
treefc21712abce7ab7482b2394a50e6e7755a222b48
parent84a2c64a26dc5e275e1cf4e76a6e194a18fb5477
FIS: repare incorrect return value with ramdisk handling

Microblaze and PowerPC use boot_get_ramdisk for loading
ramdisk to memory with checking return value.
Return 0 means success. Return 1 means failed.
Here is correspond part of code from bootm.c which check
return code.

ret = boot_get_ramdisk (argc, argv, images, IH_ARCH_PPC,
&rd_data_start, &rd_data_end);
if (ret)
goto error;

Signed-off-by: Michal Simek <monstr@monstr.eu>
common/image.c