Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp159154pxb; Tue, 24 Aug 2021 23:27:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOC4o8lC4aQKfb0NLiSAtWPz4sJ04f0nQgVRMwt74uemevalaep5ClfhhlB+2QodDFN7fD X-Received: by 2002:a5e:9819:: with SMTP id s25mr34850503ioj.63.1629872872593; Tue, 24 Aug 2021 23:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629872872; cv=none; d=google.com; s=arc-20160816; b=ntxb3GFdyWqqrz4aa/uPmDTKu1Oraoh16DJVGfzFpcozlwtQYsj7lrAeBhqhyjq9jI l4CALLjmsY2kgXRvdgz2uRwMl9j86ajQEEXUTQF9dnY8YnZQPfuVcKKSM9wB7szNEVr7 As3IVK6Z4Vmwce1g7kgyFl2G9zvvB++XftYn9lM7XM3H84rjSUxReEVGLshDscC5O3n/ Eu/Qm4ZXLMLvOntCN13me+vPDP22NAtekHXXTUwqwzydLDOohnPm6VhHNyB5Weq2Fc/t ggJuLGYWYCNjPSwU2NXZ1miBLRtdFLQ22GxqbGTB922nbLdY9/k0X3dDLQdiwpVOlJSl 5xFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=eJsa03wpABBvlGHzbReMR7TLYrTRgT3cd7Agm1mZ1RY=; b=T2cmV39KdnrhAaYb2xxAT60ebw4Mwt4kbx2ExHl2MvZlt2xZsTFtetSUTJU7IIwro7 ZbQaNvdSu6YjpfmSG60GaL3Zgw0HB6x0kpflXVQ3vnuG/QBkWAxP7cPngTWr9PHit+EA W8T5r9/Blob79fxCF04FcXQm0POAuIeL4lEBHmENeJXNridM4WC588KUza6FEXZTdeCw 7SfFUtwu7KXiPJK+EAJLGX1co0kAmjTFscwjHpqv2yzJGThem4ins/XJiD/UQjazgraF gX6OBgOI/rA52U9tH468/HYSKKAirDrqe9TYBcRkT1JUluhQG1BaKUTBhuaxWZ+9sApR V/wg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 r84si1913509jac.47.2021.08.24.23.27.41; Tue, 24 Aug 2021 23:27:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238362AbhHYG1Q (ORCPT + 99 others); Wed, 25 Aug 2021 02:27:16 -0400 Received: from mx21.baidu.com ([220.181.3.85]:35616 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S237913AbhHYG1O (ORCPT ); Wed, 25 Aug 2021 02:27:14 -0400 Received: from BC-Mail-Ex12.internal.baidu.com (unknown [172.31.51.52]) by Forcepoint Email with ESMTPS id 60AD0A4BD7F4E810B3EC; Wed, 25 Aug 2021 14:26:26 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex12.internal.baidu.com (172.31.51.52) 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 14:26:26 +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 14:26:25 +0800 From: Cai Huoqing To: , , CC: , , "Cai Huoqing" Subject: [PATCH] tpm: tis: Kconfig: Add helper dependency on COMPILE_TEST Date: Wed, 25 Aug 2021 14:26:17 +0800 Message-ID: <20210825062617.2435-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-Ex30.internal.baidu.com (172.31.51.24) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org it's helpful for complie test in other platform(e.g.X86) Signed-off-by: Cai Huoqing --- drivers/char/tpm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig index d6ba644f6b00..4a5516406c22 100644 --- a/drivers/char/tpm/Kconfig +++ b/drivers/char/tpm/Kconfig @@ -76,7 +76,7 @@ config TCG_TIS_SPI_CR50 config TCG_TIS_SYNQUACER tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface (MMIO - SynQuacer)" - depends on ARCH_SYNQUACER + depends on ARCH_SYNQUACER || COMPILE_TEST select TCG_TIS_CORE help If you have a TPM security chip that is compliant with the -- 2.25.1