Apply more uses for Kconfig TPM
Change-Id: I54b296563940cd46fe9da9fe789b746f2fc1987d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55016 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
parent
de77449c39
commit
f303b4ffd9
5 changed files with 7 additions and 9 deletions
|
|
@ -13,7 +13,7 @@ config VBOOT
|
|||
bool "Verify firmware with vboot."
|
||||
default n
|
||||
select VBOOT_LIB
|
||||
select VBOOT_MOCK_SECDATA if !TPM1 && !TPM2
|
||||
select VBOOT_MOCK_SECDATA if !TPM
|
||||
depends on 0 = 0 # Must have a 'depends on' or board overrides will break it.
|
||||
help
|
||||
Enabling VBOOT will use vboot to verify the components of the firmware
|
||||
|
|
|
|||
|
|
@ -109,9 +109,7 @@ romstage-y += secdata_tpm.c
|
|||
ramstage-y += secdata_tpm.c
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_TPM1)$(CONFIG_TPM2),)
|
||||
verstage-y += tpm_common.c
|
||||
endif
|
||||
verstage-$(CONFIG_TPM) += tpm_common.c
|
||||
|
||||
romstage-y += common.c
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue