From: Rafał Miłecki Date: Thu, 2 Apr 2015 07:13:49 +0000 (+0200) Subject: MIPS: BCM47xx: Add generic function filling SPROM entries X-Git-Tag: omap-for-v4.2/o2_dc~101^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d55a52ccf8f80cdf51af2c5c6e56c825f98c4f85;p=pandora-kernel.git MIPS: BCM47xx: Add generic function filling SPROM entries Handling many SPROM revisions became messy, we have tons of functions specific to various revision groups which are quite hard to track. For years there is yet another revision 11 asking for support, but adding it in current the form would make things even worse. To resolve this problem let's add new function with table-like entries that will contain revision bitmask for every SPROM variable. 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/9659/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed