diff options
author | Michal Simek <monstr@monstr.eu> | 2008-07-11 10:43:13 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-13 15:23:12 +0200 |
commit | c78fce699c7ff467ecd841da6a79f065180bf578 (patch) | |
tree | fc21712abce7ab7482b2394a50e6e7755a222b48 /drivers/hwmon/adm1021.c | |
parent | 84a2c64a26dc5e275e1cf4e76a6e194a18fb5477 (diff) | |
download | u-boot-imx-c78fce699c7ff467ecd841da6a79f065180bf578.zip u-boot-imx-c78fce699c7ff467ecd841da6a79f065180bf578.tar.gz u-boot-imx-c78fce699c7ff467ecd841da6a79f065180bf578.tar.bz2 |
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>
Diffstat (limited to 'drivers/hwmon/adm1021.c')
0 files changed, 0 insertions, 0 deletions