From 35868f09594827299106a2b0411c276b307767aa Mon Sep 17 00:00:00 2001 From: James Hogan Date: Fri, 9 Feb 2018 22:11:07 +0000 Subject: 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 Cc: Ralf Baechle Cc: Paul Burton Cc: Marcin Nowakowski Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18602/ --- arch/mips/configs/generic/32r6.config | 2 ++ arch/mips/configs/generic/64r6.config | 2 ++ 2 files changed, 4 insertions(+) (limited to 'arch/mips/configs') diff --git a/arch/mips/configs/generic/32r6.config b/arch/mips/configs/generic/32r6.config index ca606e7..1a5d5ea 100644 --- a/arch/mips/configs/generic/32r6.config +++ b/arch/mips/configs/generic/32r6.config @@ -1,2 +1,4 @@ CONFIG_CPU_MIPS32_R6=y CONFIG_HIGHMEM=y + +CONFIG_CRYPTO_CRC32_MIPS=y diff --git a/arch/mips/configs/generic/64r6.config b/arch/mips/configs/generic/64r6.config index 7cac033..5dd8e85 100644 --- a/arch/mips/configs/generic/64r6.config +++ b/arch/mips/configs/generic/64r6.config @@ -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 -- cgit v1.1