public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sandbox_flattree: Switch to TPMv2 support
@ 2018-05-25 12:27 Tom Rini
  2018-06-01 15:25 ` Simon Glass
  0 siblings, 1 reply; 11+ messages in thread
From: Tom Rini @ 2018-05-25 12:27 UTC (permalink / raw)
  To: u-boot

In order to have the test.py tests for TPMv2 run automatically we need
to have one of our sandbox builds use TPMv2 rather than TPMv1.  Switch
sandbox_flattree over to this style of TPM.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
I'm tempted to switch the main sandbox target over instead as I don't
quite see where we're running the tpm1.x tests automatically.  Would
that be a better idea?
---
 configs/sandbox_flattree_defconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configs/sandbox_flattree_defconfig b/configs/sandbox_flattree_defconfig
index 08072e8f0312..ca67de1be8aa 100644
--- a/configs/sandbox_flattree_defconfig
+++ b/configs/sandbox_flattree_defconfig
@@ -51,8 +51,8 @@ CONFIG_CMD_BOOTSTAGE=y
 CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_TPM=y
-CONFIG_CMD_TPM_TEST=y
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_CMD_LOG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_AMIGA_PARTITION=y
 CONFIG_OF_CONTROL=y
@@ -156,7 +156,8 @@ CONFIG_SYSRESET=y
 CONFIG_TIMER=y
 CONFIG_TIMER_EARLY=y
 CONFIG_SANDBOX_TIMER=y
-CONFIG_TPM_TIS_SANDBOX=y
+# CONFIG_TPM_V1 is not set
+CONFIG_TPM_V2=y
 CONFIG_TPM2_TIS_SANDBOX=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-07-14 11:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-25 12:27 [U-Boot] [PATCH] sandbox_flattree: Switch to TPMv2 support Tom Rini
2018-06-01 15:25 ` Simon Glass
2018-06-01 17:55   ` Tom Rini
2018-06-02 16:15     ` Simon Glass
2018-06-07  7:38       ` Miquel Raynal
2018-06-08  0:25         ` Simon Glass
2018-06-08  7:36           ` Miquel Raynal
2018-06-08 21:59             ` Simon Glass
2018-06-09 13:30               ` Miquel Raynal
2018-07-13 21:35               ` Miquel Raynal
2018-07-14 11:51                 ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox