]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BCM47xx: Add generic function filling SPROM entries
authorRafał Miłecki <zajec5@gmail.com>
Thu, 2 Apr 2015 07:13:49 +0000 (09:13 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 2 Apr 2015 11:54:25 +0000 (13:54 +0200)
commit08c5bf4ab8e7ee3ffd1f0478d7fd4e660040e3c2
tree93a3738bec91e4fe4cc2ac7910d6e377e31d468e
parentc13308b7de8423a9758bda377f2d8676af15e419
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 <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/9659/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/sprom.c