Skip to content

Commit 35868f0

Browse files
committed
MIPS: generic: Enable crc32-mips on r6 configs
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 <jhogan@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: Marcin Nowakowski <marcin.nowakowski@mips.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18602/
1 parent 4a5dc51 commit 35868f0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arch/mips/configs/generic/32r6.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
CONFIG_CPU_MIPS32_R6=y
22
CONFIG_HIGHMEM=y
3+
4+
CONFIG_CRYPTO_CRC32_MIPS=y

arch/mips/configs/generic/64r6.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ CONFIG_CPU_MIPS64_R6=y
22
CONFIG_64BIT=y
33
CONFIG_MIPS32_O32=y
44
CONFIG_MIPS32_N32=y
5+
6+
CONFIG_CRYPTO_CRC32_MIPS=y

0 commit comments

Comments
 (0)