]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: fix endian ordering in crc table
authorJeff Angielski <jeff@theptrgroup.com>
Wed, 17 Mar 2010 19:09:26 +0000 (15:09 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 21 Mar 2010 21:22:53 +0000 (22:22 +0100)
commit322ff395c9aec7b87a2211fe4333fdf44377c564
tree00a4add6c70ec0dbc26a1c425d3da3c527ee7150
parent51c2ac9bb574c1420b993615268392b0c1f829f6
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@theptrgroup.com>
Acked-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
lib_generic/crc32.c