summaryrefslogtreecommitdiff
path: root/drivers/tpm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-10-01 12:22:19 -0600
committerSimon Glass <sjg@chromium.org>2018-10-09 04:40:27 -0600
commit6307896c177e3afb54a42439062dce0776d31891 (patch)
treeebfa5a4ccdef16e7a910eea736f2ce542ac6b80d /drivers/tpm
parent06f94461a9f4769473651a34d7625f895ebe4996 (diff)
tpm: Add support for SPL and TPL
At present the tpm can only be used in U-Boot proper. Updated it to work in SPL and TPL also. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/tpm')
-rw-r--r--drivers/tpm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tpm/Makefile b/drivers/tpm/Makefile
index af473ef662..94c337b8ed 100644
--- a/drivers/tpm/Makefile
+++ b/drivers/tpm/Makefile
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0+
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
-obj-$(CONFIG_TPM) += tpm-uclass.o
+obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm-uclass.o
obj-$(CONFIG_TPM_ATMEL_TWI) += tpm_atmel_twi.o
obj-$(CONFIG_TPM_TIS_INFINEON) += tpm_tis_infineon.o