162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the kernel tpm device drivers.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ciobj-$(CONFIG_TCG_TPM) += tpm.o
662306a36Sopenharmony_citpm-y := tpm-chip.o
762306a36Sopenharmony_citpm-y += tpm-dev-common.o
862306a36Sopenharmony_citpm-y += tpm-dev.o
962306a36Sopenharmony_citpm-y += tpm-interface.o
1062306a36Sopenharmony_citpm-y += tpm1-cmd.o
1162306a36Sopenharmony_citpm-y += tpm2-cmd.o
1262306a36Sopenharmony_citpm-y += tpmrm-dev.o
1362306a36Sopenharmony_citpm-y += tpm2-space.o
1462306a36Sopenharmony_citpm-y += tpm-sysfs.o
1562306a36Sopenharmony_citpm-y += eventlog/common.o
1662306a36Sopenharmony_citpm-y += eventlog/tpm1.o
1762306a36Sopenharmony_citpm-y += eventlog/tpm2.o
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_citpm-$(CONFIG_ACPI) += tpm_ppi.o eventlog/acpi.o
2062306a36Sopenharmony_citpm-$(CONFIG_EFI) += eventlog/efi.o
2162306a36Sopenharmony_citpm-$(CONFIG_OF) += eventlog/of.o
2262306a36Sopenharmony_ciobj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o
2362306a36Sopenharmony_ciobj-$(CONFIG_TCG_TIS) += tpm_tis.o
2462306a36Sopenharmony_ciobj-$(CONFIG_TCG_TIS_SYNQUACER) += tpm_tis_synquacer.o
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciobj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi.o
2762306a36Sopenharmony_citpm_tis_spi-y := tpm_tis_spi_main.o
2862306a36Sopenharmony_citpm_tis_spi-$(CONFIG_TCG_TIS_SPI_CR50) += tpm_tis_spi_cr50.o
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciobj-$(CONFIG_TCG_TIS_I2C_CR50) += tpm_tis_i2c_cr50.o
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciobj-$(CONFIG_TCG_TIS_I2C) += tpm_tis_i2c.o
3362306a36Sopenharmony_ciobj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
3462306a36Sopenharmony_ciobj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
3562306a36Sopenharmony_ciobj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
3662306a36Sopenharmony_ciobj-$(CONFIG_TCG_NSC) += tpm_nsc.o
3762306a36Sopenharmony_ciobj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
3862306a36Sopenharmony_ciobj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
3962306a36Sopenharmony_ciobj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
4062306a36Sopenharmony_ciobj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/
4162306a36Sopenharmony_ciobj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
4262306a36Sopenharmony_ciobj-$(CONFIG_TCG_CRB) += tpm_crb.o
4362306a36Sopenharmony_ciobj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o
4462306a36Sopenharmony_ciobj-$(CONFIG_TCG_FTPM_TEE) += tpm_ftpm_tee.o
45