commit | ce8f0d0607bcad3ec0e8599be80353204427093e | [log] [tgz] |
---|---|---|
author | Jonas Gorski <jonas.gorski@gmail.com> | Sun Nov 11 12:22:34 2012 +0000 |
committer | John Crispin <blogic@openwrt.org> | Wed Dec 12 18:57:49 2012 +0100 |
tree | 9d5547b44b31086b498ac83045e3b3dc847836a2 | |
parent | 2da4c74dc3711275e82856e62884c99f7a45f541 [diff] |
MIPS: BCM63XX: fix nvram checksum calculation The current checksum calculation code does nothing except checking that the first byte of nvram is 0 without actually checking the checksum. Implement the correct checksum calculation by calculating the crc32 with the checksum field set to 0. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Patchwork: http://patchwork.linux-mips.org/patch/4540