Skip to content

Commit 4091c00

Browse files
caihuoqing1990jarkkojs
authored andcommitted
tpm: tis: Kconfig: Add helper dependency on COMPILE_TEST
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 <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
1 parent 3906fe9 commit 4091c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/tpm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ config TCG_TIS_SPI_CR50
7676

7777
config TCG_TIS_SYNQUACER
7878
tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface (MMIO - SynQuacer)"
79-
depends on ARCH_SYNQUACER
79+
depends on ARCH_SYNQUACER || COMPILE_TEST
8080
select TCG_TIS_CORE
8181
help
8282
If you have a TPM security chip that is compliant with the

0 commit comments

Comments
 (0)