All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] tpm: tis: Kconfig: Add helper dependency on COMPILE_TEST
@ 2021-08-26  1:10 Cai Huoqing
  2021-08-26 16:11 ` Jarkko Sakkinen
  0 siblings, 1 reply; 2+ messages in thread
From: Cai Huoqing @ 2021-08-26  1:10 UTC (permalink / raw)
  To: jarkko, peterhuewe, jgg; +Cc: linux-integrity, linux-kernel, Cai Huoqing

COMPILE_TEST is helpful to find compilation errors in other platform(e.g.X86).
In this case, the support of COMPILE_TEST is added, so this module could
be compiled in other platform(e.g.X86), without ARCH_SYNQUACER configuration.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
v1->v2: extend the commit message.

 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] tpm: tis: Kconfig: Add helper dependency on COMPILE_TEST
  2021-08-26  1:10 [PATCH v2] tpm: tis: Kconfig: Add helper dependency on COMPILE_TEST Cai Huoqing
@ 2021-08-26 16:11 ` Jarkko Sakkinen
  0 siblings, 0 replies; 2+ messages in thread
From: Jarkko Sakkinen @ 2021-08-26 16:11 UTC (permalink / raw)
  To: Cai Huoqing, peterhuewe, jgg; +Cc: linux-integrity, linux-kernel

On Thu, 2021-08-26 at 09:10 +0800, Cai Huoqing wrote:
> COMPILE_TEST is helpful to find compilation errors in other platform(e.g.X86).
> In this case, the support of COMPILE_TEST is added, so this module could
> be compiled in other platform(e.g.X86), without ARCH_SYNQUACER configuration.

Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>

/Jarkko

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-26 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26  1:10 [PATCH v2] tpm: tis: Kconfig: Add helper dependency on COMPILE_TEST Cai Huoqing
2021-08-26 16:11 ` Jarkko Sakkinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.