[U-Boot-Users] [PATCH 1/1] FIS: repare incorrect return value with ramdisk handling

Wolfgang Denk wd at denx.de
Sun Jul 13 15:23:29 CEST 2008


In message <1215765793-25784-1-git-send-email-monstr at seznam.cz> you wrote:
> From: Michal Simek <monstr at monstr.eu>
> 
> 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 at monstr.eu>
> ---
>  common/image.c |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You can love it, change it, or leave it.    There is NO other option.
But do not complain - it is your own choice...                  -- wd




More information about the U-Boot mailing list