Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp331202pxb; Wed, 25 Aug 2021 04:31:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6FpnMsN6AfPSuyah7QmYu++E6Rf1XI/K94T1PuasASt3f9hFcZT+UNU/tg4bz89ZCgr36 X-Received: by 2002:a92:c26f:: with SMTP id h15mr24439323ild.47.1629891070157; Wed, 25 Aug 2021 04:31:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629891070; cv=none; d=google.com; s=arc-20160816; b=lilGrq09ztQQ9UP6kJybdTphD0YDfA8/b1JtGrX0mc4EnOVtUjSr3MRfzuPQiMfg4i R9DhrHP6CxrkBYnaNpwtf5CiBHxxMsCeiQfgVC1uZY8zl/s9wOjlLrQ9+XZLzRWYIkbH XMcjvIe2b7Ftq9nRwSya0Q2yLO0K5iL6OuKH2Aw4LGdw5h8evfJn9oJS0qf6DqZm8r+B lAengo/fETXz9NvyoNIbihiYe0elAIzfJxUVOcySLjPYxMWv19RhJPLgjQ1PtuJHlo5H p/Y0frP8/ipNf77PE+m63Ku9teWt8uy/Lou0CPkpQdCuatUt9OIBeUI47lxYSlOEZUtd 2pLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=5qk/Or8JSbIMRLTemL1MSn2DF+oBOK/sIDxwVWTwSHA=; b=m7dUghhnNbofgkdgIra/VQPqptxjZsDxq/bdy+/KjpEJmjfeBLjHYYXrdvf9hPr/n8 mV9D3r5omD51LgTQCdwvQazzTZHEAVz09vCyTUDeQfqUPUxrDlB0xmZCdw/OU4SVQ+e1 6SDStFYGWeeBCxHGssEq3zrYM+aGnz+s8YO7lgZk2kwcFLkifgZWusRvXOnxDXtwsjoE w8RPNvQsej70wUobiRvecLIKvQ/6ZGBasCHrc985na8A0LXLKq3284FTBvOIigBVnyQp VrN67tKR5v9PXqUSK15smoQDb/yxhCj9tiuBchOHHrsc7qTiioCTZsppFQihQGGq/DgH 6GYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o11si24058317ilu.139.2021.08.25.04.30.58; Wed, 25 Aug 2021 04:31:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239394AbhHYLWm (ORCPT + 99 others); Wed, 25 Aug 2021 07:22:42 -0400 Received: from mx20.baidu.com ([111.202.115.85]:52186 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S239411AbhHYLWm (ORCPT ); Wed, 25 Aug 2021 07:22:42 -0400 Received: from BC-Mail-Ex19.internal.baidu.com (unknown [172.31.51.13]) by Forcepoint Email with ESMTPS id 69BB2EF880CE6D117B12; Wed, 25 Aug 2021 19:21:55 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex19.internal.baidu.com (172.31.51.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Wed, 25 Aug 2021 19:21:55 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 25 Aug 2021 19:21:54 +0800 From: Cai Huoqing To: , , , , CC: , , , Cai Huoqing Subject: [PATCH 1/2] crypto: stm32 - Add support of COMPILE_TEST Date: Wed, 25 Aug 2021 19:21:46 +0800 Message-ID: <20210825112147.2669-2-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210825112147.2669-1-caihuoqing@baidu.com> References: <20210825112147.2669-1-caihuoqing@baidu.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BJHW-Mail-Ex14.internal.baidu.com (10.127.64.37) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org it's helpful for complie test in other platform(e.g.X86) Signed-off-by: Cai Huoqing --- drivers/crypto/stm32/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/stm32/Kconfig b/drivers/crypto/stm32/Kconfig index 4a4c3284ae1f..0fa30260300f 100644 --- a/drivers/crypto/stm32/Kconfig +++ b/drivers/crypto/stm32/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config CRYPTO_DEV_STM32_CRC tristate "Support for STM32 crc accelerators" - depends on ARCH_STM32 + depends on ARCH_STM32 || (COMPILE_TEST && OF) select CRYPTO_HASH select CRC32 help @@ -10,7 +10,7 @@ config CRYPTO_DEV_STM32_CRC config CRYPTO_DEV_STM32_HASH tristate "Support for STM32 hash accelerators" - depends on ARCH_STM32 + depends on ARCH_STM32 || (COMPILE_TEST && OF) depends on HAS_DMA select CRYPTO_HASH select CRYPTO_MD5 @@ -23,7 +23,7 @@ config CRYPTO_DEV_STM32_HASH config CRYPTO_DEV_STM32_CRYP tristate "Support for STM32 cryp accelerators" - depends on ARCH_STM32 + depends on ARCH_STM32 || (COMPILE_TEST && OF) select CRYPTO_HASH select CRYPTO_ENGINE select CRYPTO_LIB_DES -- 2.25.1