From: Rafał Miłecki Date: Thu, 2 Apr 2015 10:30:24 +0000 (+0200) Subject: MIPS: BCM47xx: Move filling most of SPROM to the generic function X-Git-Tag: omap-for-v4.2/o2_dc~101^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e754dfcfe37f49c9249152e2e98e58887a4d87c8;p=pandora-kernel.git 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 Cc: linux-mips@linux-mips.org Cc: Hauke Mehrtens Cc: Jonas Gorski Patchwork: https://patchwork.linux-mips.org/patch/9660/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed