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