MIPS: OCTEON: reintroduce crypto features check
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 21 Dec 2014 20:54:00 +0000 (22:54 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 23 Dec 2014 21:14:22 +0000 (08:14 +1100)
commit011f3c6cbb97859860e451f2a75767cd4c1ffc03
tree6662ed497e584d9de3caec1447c13115c9bdc2b6
parent1e585ef51c3fdcf296d2ce5cb8c9e74b1a36cfb4
MIPS: OCTEON: reintroduce crypto features check

Reintroduce run-time check for crypto features. The old one was deleted
because it was unreliable, now decide the crypto availability on early
boot when the model string is constructed.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/mips/cavium-octeon/executive/octeon-model.c
arch/mips/include/asm/octeon/octeon-feature.h