MIPS: BCM47xx: Move filling most of SPROM to the generic function
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 <dced371c11179e2cb83b1e305b9d7b15f379452b@gmail.com>
Cc: 562397917b9a8bf316569a848858b12fb417723f@linux-mips.org
Cc: Hauke Mehrtens <435ddd46dc66c007a1fa20144c823d37e0d23436@hauke-m.de>
Cc: Jonas Gorski <9712c064bde5a52658fc87d6454b4956f9bf286b@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/9660/
Signed-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs