diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-12-26 20:51:13 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-15 19:01:56 +0100 |
commit | f36738ddfeea02867b393e7f34da0cec48bafc54 (patch) | |
tree | 58172c4d59d237b90929ee654d4bfcbbba08d046 /drivers/ssb | |
parent | MIPS: BCM47XX: rename early_nvram_init to nvram_init (diff) | |
download | linux-f36738ddfeea02867b393e7f34da0cec48bafc54.tar.xz 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 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions