diff mbox series

[U-Boot,v2,7/7] sandbox: compile both TPM stack versions and drivers

Message ID 20180719203512.346-8-miquel.raynal@bootlin.com
State Accepted
Delegated to: Tom Rini
Headers show
Series Allow both TPM stacks to be compiled at the same time | expand

Commit Message

Miquel Raynal July 19, 2018, 8:35 p.m. UTC
Now that TPMv1 and TPMv2 can be compiled at the same time, let's compile
them both with Sandbox as well as both drivers (and, it is already
implied in Kconfig: both commands).

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
 configs/sandbox_defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Tom Rini July 30, 2018, 8:01 p.m. UTC | #1
On Thu, Jul 19, 2018 at 10:35:12PM +0200, Miquel Raynal wrote:

> Now that TPMv1 and TPMv2 can be compiled at the same time, let's compile
> them both with Sandbox as well as both drivers (and, it is already
> implied in Kconfig: both commands).
> 
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 2fc84a16c9..d5756d1173 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -176,6 +176,7 @@  CONFIG_TIMER=y
 CONFIG_TIMER_EARLY=y
 CONFIG_SANDBOX_TIMER=y
 CONFIG_TPM_TIS_SANDBOX=y
+CONFIG_TPM2_TIS_SANDBOX=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_EMUL=y
@@ -192,6 +193,8 @@  CONFIG_FS_CBFS=y
 CONFIG_FS_CRAMFS=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_TPM=y
+CONFIG_TPM_V1=y
+CONFIG_TPM_V2=y
 CONFIG_LZ4=y
 CONFIG_ERRNO_STR=y
 CONFIG_OF_LIBFDT_OVERLAY=y