Skip to content

Commit

Permalink
MIPS: generic: Enable crc32-mips on r6 configs
Browse files Browse the repository at this point in the history
Enable the crc32-mips module on MIPS generic r6 configs, where the
required MIPS r6 CRC instructions may be available.

As well as allowing the CRC instructions to be utilised, this should
also ensure the module gets some build coverage.

Signed-off-by: James Hogan <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Marcin Nowakowski <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/18602/
  • Loading branch information
amalon committed Feb 19, 2018
1 parent 4a5dc51 commit 35868f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/mips/configs/generic/32r6.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
CONFIG_CPU_MIPS32_R6=y
CONFIG_HIGHMEM=y

CONFIG_CRYPTO_CRC32_MIPS=y
2 changes: 2 additions & 0 deletions arch/mips/configs/generic/64r6.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CONFIG_CPU_MIPS64_R6=y
CONFIG_64BIT=y
CONFIG_MIPS32_O32=y
CONFIG_MIPS32_N32=y

CONFIG_CRYPTO_CRC32_MIPS=y

0 comments on commit 35868f0

Please sign in to comment.