From: Wolfgang Denk Date: Sun, 13 Jul 2008 15:23:29 +0200 Subject: [U-Boot-Users] [PATCH 1/1] FIS: repare incorrect return value with ramdisk handling In-Reply-To: Your message of "Fri, 11 Jul 2008 10:43:13 +0200." <1215765793-25784-1-git-send-email-monstr@seznam.cz> Message-ID: <20080713132329.B214D240EE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1215765793-25784-1-git-send-email-monstr@seznam.cz> you wrote: > From: Michal Simek > > 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 > --- > 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