summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm47xx/sprom.c
diff options
context:
space:
mode:
authorHauke Mehrtens2012-12-26 20:51:13 +0100
committerJohn Crispin2013-02-15 19:01:56 +0100
commitf36738ddfeea02867b393e7f34da0cec48bafc54 (patch)
tree58172c4d59d237b90929ee654d4bfcbbba08d046 /arch/mips/bcm47xx/sprom.c
parentMIPS: BCM47XX: rename early_nvram_init to nvram_init (diff)
downloadkernel-qcow2-linux-f36738ddfeea02867b393e7f34da0cec48bafc54.tar.gz
kernel-qcow2-linux-f36738ddfeea02867b393e7f34da0cec48bafc54.tar.xz
kernel-qcow2-linux-f36738ddfeea02867b393e7f34da0cec48bafc54.zip
MIPS: BCM47XX: handle different nvram sizes
The old code just worked for nvram with a size of 0x8000 bytes. This patch adds support for reading nvram from partitions of 0xF000 and 0x10000 bytes. There is just 32KB space for the nvram, but most devices do not use the full size and this code reads the first 32KB in that case and prints a warning. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Patchwork: http://patchwork.linux-mips.org/patch/4743/ Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/bcm47xx/sprom.c')
0 files changed, 0 insertions, 0 deletions