summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-04-10 22:42:22 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-04-13 17:33:24 +0200
commite230313ff76cdc9bf6342a56c9974ec64267dc80 (patch)
tree055117421ca4b6d4169da8463b085ea36741f67e
parentdf5bf2b7961cc470cb8704cf52d74ed7d6ebe776 (diff)
tpm: Only expose base address Kconfig option when enabled
Change-Id: Ia8ddd689a3bf09ed68f94907ea19d4d2ee874542 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/9594 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--src/drivers/pc80/tpm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/pc80/tpm/Kconfig b/src/drivers/pc80/tpm/Kconfig
index 9630de2ac1..279da399b4 100644
--- a/src/drivers/pc80/tpm/Kconfig
+++ b/src/drivers/pc80/tpm/Kconfig
@@ -9,6 +9,7 @@ config LPC_TPM
config TPM_TIS_BASE_ADDRESS
hex "TPM Base Address"
default 0xfed40000
+ depends on LPC_TPM
help
This can be used to adjust the TPM memory base address.
The default is specified by the TCG PC Client Specific TPM