diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-04-02 12:30:24 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-02 14:00:13 +0200 |
commit | e754dfcfe37f49c9249152e2e98e58887a4d87c8 (patch) | |
tree | fad5a6f55e02cffcade467ffc3a8d323afa7ec83 /arch/mips/mti-sead3/sead3-net.c | |
parent | d55a52ccf8f80cdf51af2c5c6e56c825f98c4f85 (diff) |
MIPS: BCM47xx: Move filling most of SPROM to the generic function
This simplifies code a lot by dropping many per-revision-group
functions. There are still some paths left that use uncommon NVRAM read
helpers or fill arrays. They will need to be handled in separated patch.
I've tested this (by printing SPROM content) for regressions on:
1) BCM4704 (SPROM revision 2)
2) BCM4706 (SPROM revision 8 plus 11 & 9 on extra WiFi cards)
The only difference is not reading board_type from SPROM rev 11 which is
unsupported and treated as rev 1. This change for rev 1 is expected.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Jonas Gorski <jonas.gorski@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/9660/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-sead3/sead3-net.c')
0 files changed, 0 insertions, 0 deletions