Skip to content

Commit 2f7d8db

Browse files
PeterHueweJarkko Sakkinen
authored andcommitted
tpm: Make SECURITYFS a weak dependency
While having SECURITYFS enabled for the tpm subsystem is beneficial in most cases, it is not strictly necessary to have it enabled at all. Especially on platforms without any boot firmware integration of the TPM (e.g. raspberry pi) it does not add any value for the tpm subsystem, as there is no eventlog present. By turning it from 'select' to 'imply' it still gets selected per default, but enables users who want to save some kb of ram by turning SECURITYFS off. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
1 parent 0d6d0d6 commit 2f7d8db

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
@@ -5,7 +5,7 @@
55
menuconfig TCG_TPM
66
tristate "TPM Hardware Support"
77
depends on HAS_IOMEM
8-
select SECURITYFS
8+
imply SECURITYFS
99
select CRYPTO
1010
select CRYPTO_HASH_INFO
1111
---help---

0 commit comments

Comments
 (0)