summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/Makefile
diff options
context:
space:
mode:
authorAshley Lai <adlai@linux.vnet.ibm.com>2012-08-14 18:35:32 -0500
committerKent Yoder <key@linux.vnet.ibm.com>2012-08-22 16:22:47 -0500
commitc5df39262dd59dbbffb1017fca0f1661408ac9d5 (patch)
tree80548294fa8b0c6f7581bbbadc511badeccaa42d /drivers/char/tpm/Makefile
parent4a727429abec31c4f5d9607cebb4fb1cc21e1167 (diff)
downloadop-kernel-dev-c5df39262dd59dbbffb1017fca0f1661408ac9d5.zip
op-kernel-dev-c5df39262dd59dbbffb1017fca0f1661408ac9d5.tar.gz
drivers/char/tpm: Add securityfs support for event log
This patch retrieves the event log data from the device tree during file open. The event log data will then displayed through securityfs. Signed-off-by: Ashley Lai <adlai@us.ibm.com> Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/tpm/Makefile')
-rw-r--r--drivers/char/tpm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/char/tpm/Makefile b/drivers/char/tpm/Makefile
index 547509d..9080cc4 100644
--- a/drivers/char/tpm/Makefile
+++ b/drivers/char/tpm/Makefile
@@ -5,6 +5,11 @@ obj-$(CONFIG_TCG_TPM) += tpm.o
ifdef CONFIG_ACPI
obj-$(CONFIG_TCG_TPM) += tpm_bios.o
tpm_bios-objs += tpm_eventlog.o tpm_acpi.o
+else
+ifdef CONFIG_TCG_IBMVTPM
+ obj-$(CONFIG_TCG_TPM) += tpm_bios.o
+ tpm_bios-objs += tpm_eventlog.o tpm_of.o
+endif
endif
obj-$(CONFIG_TCG_TIS) += tpm_tis.o
obj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
OpenPOWER on IntegriCloud