MIPS: generic: Enable crc32-mips on r6 configs
authorJames Hogan <jhogan@kernel.org>
Fri, 9 Feb 2018 22:11:07 +0000 (22:11 +0000)
committerJames Hogan <jhogan@kernel.org>
Mon, 19 Feb 2018 20:50:36 +0000 (20:50 +0000)
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/

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

index ca606e71f4d02611f2b1989013035c1c364d8610..1a5d5ea4ab2b5139ef841b7af9038f965909b3bd 100644 (file)
@@ -1,2 +1,4 @@
 CONFIG_CPU_MIPS32_R6=y
 CONFIG_HIGHMEM=y
+
+CONFIG_CRYPTO_CRC32_MIPS=y
index 7cac0339c4d52db0c419d3409ee411da8d400e1b..5dd8e8503e34b5d03f44d17ea0d553ac8b61f91d 100644 (file)
@@ -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