mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 18:22:02 +02:00
tpm: compile Sandbox driver by default
When Sandbox and the TPM stack are both selected, compile Sandbox TPM driver by default. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -20,6 +20,7 @@ if TPM_V1 && !TPM_V2
|
|||||||
config TPM_TIS_SANDBOX
|
config TPM_TIS_SANDBOX
|
||||||
bool "Enable sandbox TPM driver"
|
bool "Enable sandbox TPM driver"
|
||||||
depends on TPM_V1 && SANDBOX
|
depends on TPM_V1 && SANDBOX
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
This driver emulates a TPMv1.x, providing access to base functions
|
This driver emulates a TPMv1.x, providing access to base functions
|
||||||
such as reading and writing TPM private data. This is enough to
|
such as reading and writing TPM private data. This is enough to
|
||||||
@@ -132,6 +133,7 @@ if TPM_V2 && !TPM_V1
|
|||||||
config TPM2_TIS_SANDBOX
|
config TPM2_TIS_SANDBOX
|
||||||
bool "Enable sandbox TPMv2.x driver"
|
bool "Enable sandbox TPMv2.x driver"
|
||||||
depends on TPM_V2 && SANDBOX
|
depends on TPM_V2 && SANDBOX
|
||||||
|
default y
|
||||||
select TPM_DRIVER_SELECTED
|
select TPM_DRIVER_SELECTED
|
||||||
help
|
help
|
||||||
This driver emulates a TPMv2.x, providing access to base functions
|
This driver emulates a TPMv2.x, providing access to base functions
|
||||||
|
Reference in New Issue
Block a user