From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 28 Jul 2009 08:31:13 +0200 Subject: [U-Boot] [PATCH] zlib: allow 0 as destination pointer In-Reply-To: <20090727164031.GA3963@mail.gnudd.com> References: <200907271730.36098.sr@denx.de> <20090727150928.GA433@mail.gnudd.com> <20090727164031.GA3963@mail.gnudd.com> Message-ID: <200907280831.13487.sr@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 On Monday 27 July 2009 18:40:31 Alessandro Rubini wrote: > The entry point of an image can be 0 (like on PowerPC), so allow next_out > to be NULL in inflate() > > Signed-off-by: Alessandro Rubini > --- > > Stefan Roese: > > I'll try to uncompress to something != 0 tomorrow on PPC. > > You are right. I naively thought my arm has RAM at 0 like PPC, but > entry point of image is not really 0. Yes, this works: Tested-by: Stefan Roese Thanks. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================