diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2012-11-11 12:22:34 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-12-12 18:57:49 +0100 |
commit | ce8f0d0607bcad3ec0e8599be80353204427093e (patch) | |
tree | 9d5547b44b31086b498ac83045e3b3dc847836a2 /arch/mips/include/asm/mach-loongson1/platform.h | |
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
Diffstat (limited to 'arch/mips/include/asm/mach-loongson1/platform.h')
0 files changed, 0 insertions, 0 deletions