aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm63xx/nvram.c
Commit message (Collapse)AuthorAge
* MIPS: BCM63XX: fix nvram checksum calculationJonas Gorski2012-12-12
| | | | | | | | | | | 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
* MIPS: BCM63XX: move nvram functions into their own fileJonas Gorski2012-11-09
Refactor nvram related functions into its own unit for easier expansion and exposure of the values to other drivers. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Patchwork: http://patchwork.linux-mips.org/patch/4516 Signed-off-by: John Crispin <blogic@openwrt.org>