diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2012-11-11 13:22:34 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-12-12 18:57:49 +0100 |
commit | ce8f0d0607bcad3ec0e8599be80353204427093e (patch) | |
tree | 9d5547b44b31086b498ac83045e3b3dc847836a2 /drivers/ssb/driver_extif.c | |
parent | MIPS: BCM47XX: remove GPIO driver (diff) | |
download | linux-ce8f0d0607bcad3ec0e8599be80353204427093e.tar.xz linux-ce8f0d0607bcad3ec0e8599be80353204427093e.zip |
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 'drivers/ssb/driver_extif.c')
0 files changed, 0 insertions, 0 deletions