[linux-yocto] [yocto-kernel-cache][PATCH 1/3] features/tpm/tpm.cfg: set CONFIG_HW_RANDOM_TPM as module

Liwei Song liwei.song at windriver.com
Wed Nov 15 17:47:49 PST 2017


CONFIG_HW_RANDOM was set to "m" by default in Kconfig,
this make CONFIG_HW_RANDOM_TPM only can be build as module,
So change CONFIG_HW_RANDOM_TPM=y to CONFIG_HW_RANDOM_TPM=m
to aviod kernel configcheck warning:
Requested value: CONFIG_HW_RANDOM_TPM=y
Actual value: CONFIG_HW_RANDOM_TPM=m

Signed-off-by: Liwei Song <liwei.song at windriver.com>
---
 features/tpm/tpm.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features/tpm/tpm.cfg b/features/tpm/tpm.cfg
index 09ffc325e531..113f37c7a8fd 100644
--- a/features/tpm/tpm.cfg
+++ b/features/tpm/tpm.cfg
@@ -1,6 +1,6 @@
 # Enable TPM device drivers.
 CONFIG_TCG_TPM=y
-CONFIG_HW_RANDOM_TPM=y
+CONFIG_HW_RANDOM_TPM=m
 CONFIG_TCG_TIS_CORE=y
 CONFIG_TCG_TIS=y
 CONFIG_SPI=y
-- 
2.13.3



More information about the linux-yocto mailing list