security/tpm: Change POWER_OFF_ON_CR50_UPDATE so it can be disabled
Modify the POWER_OFF_ON_CR50_UPDATE Kconfig option so that specific mainboard implementations can disable the option. BUG=b:126632503 BRANCH=none TEST=Build coreboot on sarien/arcada. TEST=Perform Cr50 firmware update on Sarien, confirm the platform boots normally after sending TURN_UPDATE_ON to the Cr50. Change-Id: I3beefaae21de61e53ae232dbdc8ea9dbb2c78cd5 Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32435 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
1a1fe6e384
commit
97f8029ad4
|
@ -16,12 +16,12 @@
|
|||
config TPM_CR50
|
||||
bool
|
||||
default y if MAINBOARD_HAS_I2C_TPM_CR50 || MAINBOARD_HAS_SPI_TPM_CR50
|
||||
select POWER_OFF_ON_CR50_UPDATE if ARCH_X86
|
||||
|
||||
if TPM_CR50
|
||||
|
||||
config POWER_OFF_ON_CR50_UPDATE
|
||||
bool
|
||||
default y if ARCH_X86
|
||||
help
|
||||
Power off machine while waiting for CR50 update to take effect.
|
||||
|
||||
|
|
Loading…
Reference in New Issue