commit | b24740003ff0e894e02073923599847382531234 | [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 | 46b6bf4d61aeede07d7fa7cc1f1ca185a291f85d [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>