]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Octeon: Delete potentially dangerous feature checks
authorAaro Koskinen <aaro.koskinen@nsn.com>
Mon, 8 Sep 2014 15:25:41 +0000 (18:25 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:32 +0000 (07:45 +0100)
commitc46c6a1a43305911eae42e2857a8ce7712d97051
treef7f291d37bb1988a314a468ad8a786f2ea13ea0e
parent598735fb6898b848009df58371161155848a0e32
MIPS: Octeon: Delete potentially dangerous feature checks

We should not need to read fuses during normal operation, also the current
code has issues with that (not safe for concurrent access). Since there
are no in-kernel users for these, just delete them. Drivers should
not need such OCTEON_HAS_FEATURE mechanism in any case, instead the
information should be passed via device tree.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com>
Cc: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7665/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/octeon/cvmx.h
arch/mips/include/asm/octeon/octeon-feature.h