[U-Boot] cross compiling fw_printenv on big endian

Wolfgang Denk wd at denx.de
Sun Mar 21 20:29:35 CET 2010


Dear Jeff Angielski,

In message <4BA12AF2.4080506 at 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 <jeff at theptrgroup.com>
> ---
>  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


More information about the U-Boot mailing list