Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 1 | subdirs-$(CONFIG_TPM_CR50) += tss/vendor/cr50 |
| 2 | |
Philipp Deppenwiese | 86391f1 | 2017-10-18 21:54:24 +0200 | [diff] [blame] | 3 | ## TSS |
| 4 | |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 5 | ifeq ($(CONFIG_TPM1),y) |
Philipp Deppenwiese | 64e2d19 | 2017-10-18 17:13:07 +0200 | [diff] [blame] | 6 | |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 7 | ramstage-y += tss/tcg-1.2/tss.c |
| 8 | romstage-y += tss/tcg-1.2/tss.c |
Philipp Deppenwiese | 64e2d19 | 2017-10-18 17:13:07 +0200 | [diff] [blame] | 9 | |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 10 | verstage-$(CONFIG_VBOOT) += tss/tcg-1.2/tss.c |
| 11 | postcar-$(CONFIG_VBOOT) += tss/tcg-1.2/tss.c |
| 12 | |
| 13 | ## TSPI |
| 14 | |
Philipp Deppenwiese | c9b7d1f | 2018-11-10 00:35:02 +0100 | [diff] [blame] | 15 | ramstage-y += tspi/tspi.c |
| 16 | romstage-y += tspi/tspi.c |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 17 | |
Philipp Deppenwiese | c9b7d1f | 2018-11-10 00:35:02 +0100 | [diff] [blame] | 18 | verstage-$(CONFIG_VBOOT) += tspi/tspi.c |
| 19 | postcar-$(CONFIG_VBOOT) += tspi/tspi.c |
| 20 | |
| 21 | ramstage-$(CONFIG_VBOOT_MEASURED_BOOT) += tspi/log.c |
| 22 | romstage-$(CONFIG_VBOOT_MEASURED_BOOT) += tspi/log.c |
| 23 | verstage-$(CONFIG_VBOOT_MEASURED_BOOT) += tspi/log.c |
| 24 | postcar-$(CONFIG_VBOOT_MEASURED_BOOT) += tspi/log.c |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 25 | |
| 26 | endif # CONFIG_TPM1 |
| 27 | |
| 28 | ifeq ($(CONFIG_TPM2),y) |
| 29 | |
| 30 | ramstage-y += tss/tcg-2.0/tss_marshaling.c |
| 31 | ramstage-y += tss/tcg-2.0/tss.c |
| 32 | |
| 33 | romstage-y += tss/tcg-2.0/tss_marshaling.c |
| 34 | romstage-y += tss/tcg-2.0/tss.c |
| 35 | |
| 36 | verstage-$(CONFIG_VBOOT) += tss/tcg-2.0/tss_marshaling.c |
| 37 | verstage-$(CONFIG_VBOOT) += tss/tcg-2.0/tss.c |
| 38 | |
Frans Hendriks | 7c05d2a6 | 2019-06-13 15:46:12 +0200 | [diff] [blame^] | 39 | postcar-y += tss/tcg-2.0/tss_marshaling.c |
| 40 | postcar-y += tss/tcg-2.0/tss.c |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 41 | |
| 42 | ## TSPI |
| 43 | |
Philipp Deppenwiese | c9b7d1f | 2018-11-10 00:35:02 +0100 | [diff] [blame] | 44 | ramstage-y += tspi/tspi.c |
| 45 | romstage-y += tspi/tspi.c |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 46 | |
Philipp Deppenwiese | c9b7d1f | 2018-11-10 00:35:02 +0100 | [diff] [blame] | 47 | verstage-$(CONFIG_VBOOT) += tspi/tspi.c |
| 48 | postcar-$(CONFIG_VBOOT) += tspi/tspi.c |
| 49 | |
| 50 | ramstage-$(CONFIG_VBOOT_MEASURED_BOOT) += tspi/log.c |
| 51 | romstage-$(CONFIG_VBOOT_MEASURED_BOOT) += tspi/log.c |
| 52 | verstage-$(CONFIG_VBOOT_MEASURED_BOOT) += tspi/log.c |
| 53 | postcar-$(CONFIG_VBOOT_MEASURED_BOOT) += tspi/log.c |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 54 | |
| 55 | endif # CONFIG_TPM2 |