chromeos: Remove old MOCK_TPM references
The correct way to mock out vboot TPM accesses these days is the CONFIG_VBOOT_MOCK_SECDATA Kconfig option. There are some remnants of older TPM-mocking infrastructure in our codebase that are as far as I can tell inert. Remove them. Change-Id: I3e00c94b71d53676e6c796e0bec0f3db67c78e34 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/18977 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
@@ -50,10 +50,6 @@ verstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
|
||||
verstage-y += boot_device.c
|
||||
verstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
|
||||
|
||||
ifeq ($(MOCK_TPM),1)
|
||||
libverstage-y += mocked_tlcl.c
|
||||
romstage-$(CONFIG_SEPARATE_VERSTAGE) += mocked_tlcl.c
|
||||
else
|
||||
libverstage-$(CONFIG_TPM) += tlcl.c
|
||||
libverstage-$(CONFIG_TPM2) += tpm2_marshaling.c
|
||||
libverstage-$(CONFIG_TPM2) += tpm2_tlcl.c
|
||||
@@ -64,8 +60,6 @@ romstage-$(CONFIG_TPM2) += tpm2_marshaling.c
|
||||
romstage-$(CONFIG_TPM2) += tpm2_tlcl.c
|
||||
endif # CONFIG_SEPARATE_VERSTAGE
|
||||
|
||||
endif
|
||||
|
||||
verstage-$(CONFIG_GENERIC_UDELAY) += timer.c
|
||||
verstage-$(CONFIG_GENERIC_GPIO_LIB) += gpio.c
|
||||
|
||||
|
Reference in New Issue
Block a user