diff options
Diffstat (limited to 'arch/mips/cavium-octeon/executive/octeon-model.c')
-rw-r--r-- | arch/mips/cavium-octeon/executive/octeon-model.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/cavium-octeon/executive/octeon-model.c b/arch/mips/cavium-octeon/executive/octeon-model.c index e15b049b3bd7..b2104bd9ab3b 100644 --- a/arch/mips/cavium-octeon/executive/octeon-model.c +++ b/arch/mips/cavium-octeon/executive/octeon-model.c | |||
@@ -27,6 +27,9 @@ | |||
27 | 27 | ||
28 | #include <asm/octeon/octeon.h> | 28 | #include <asm/octeon/octeon.h> |
29 | 29 | ||
30 | enum octeon_feature_bits __octeon_feature_bits __read_mostly; | ||
31 | EXPORT_SYMBOL_GPL(__octeon_feature_bits); | ||
32 | |||
30 | /** | 33 | /** |
31 | * Read a byte of fuse data | 34 | * Read a byte of fuse data |
32 | * @byte_addr: address to read | 35 | * @byte_addr: address to read |
@@ -103,6 +106,9 @@ static const char *__init octeon_model_get_string_buffer(uint32_t chip_id, | |||
103 | else | 106 | else |
104 | suffix = "NSP"; | 107 | suffix = "NSP"; |
105 | 108 | ||
109 | if (!fus_dat2.s.nocrypto) | ||
110 | __octeon_feature_bits |= OCTEON_HAS_CRYPTO; | ||
111 | |||
106 | /* | 112 | /* |
107 | * Assume pass number is encoded using <5:3><2:0>. Exceptions | 113 | * Assume pass number is encoded using <5:3><2:0>. Exceptions |
108 | * will be fixed later. | 114 | * will be fixed later. |