]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: bcm63xx: nvram: Use nvram structure definition from header file
authorSimon Arlott <simon@fire.lp0.eu>
Sun, 13 Dec 2015 22:46:15 +0000 (22:46 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jan 2016 02:48:05 +0000 (03:48 +0100)
commiteb4fd0fdaf5ea0ede83b48004c13dfb9b8d28913
tree7dfc9fce0e7e437be0931315807108b62490f5a2
parent3e1d37313f00f2fb89c0ccebc2999b9cd6347231
MIPS: bcm63xx: nvram: Use nvram structure definition from header file

Use the common definition of the nvram structure from the header file
include/linux/bcm963xx_nvram.h instead of maintaining a separate copy.

Read the version 5 size of nvram data from memory and then call the
new checksum verification function from the header file.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Jonas Gorski <jogo@openwrt.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: MIPS Mailing List <linux-mips@linux-mips.org>
Cc: MTD Maling List <linux-mtd@lists.infradead.org>
Patchwork: https://patchwork.linux-mips.org/patch/11831/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/nvram.c