commit | c78fce699c7ff467ecd841da6a79f065180bf578 | [log] [tgz] |
---|---|---|
author | Michal Simek <monstr@monstr.eu> | Fri Jul 11 10:43:13 2008 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Sun Jul 13 15:23:12 2008 +0200 |
tree | fc21712abce7ab7482b2394a50e6e7755a222b48 | |
parent | 84a2c64a26dc5e275e1cf4e76a6e194a18fb5477 [diff] |
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>