From: Wolfgang Denk Date: Sun, 21 Mar 2010 20:29:35 +0100 Subject: [U-Boot] cross compiling fw_printenv on big endian In-Reply-To: <4BA12AF2.4080506@theptrgroup.com> References: <4B9FD92E.7000400@theptrgroup.com> <20100317115731.3D1375086C@gemini.denx.de> <4BA0F0FA.8030701@theptrgroup.com> <4BA12AF2.4080506@theptrgroup.com> Message-ID: <20100321192935.969734C022@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 Dear Jeff Angielski, In message <4BA12AF2.4080506@theptrgroup.com> you wrote: > > Subject: [PATCH] env: fix endian ordering in crc table > > The crc table was being built as little endian for big endian > targets. This would cause fw_printenv to always fail with > "Warning: Bad CRC, using default environment" messages. > Signed-off-by: Jeff Angielski > --- > lib_generic/crc32.c | 2 +- > 1 files changed, 1 insertions(+), 1 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 Mirrors should reflect a little before throwing back images. - Jean Cocteau