Index: src/platform/tpm_lite/src/testsuite/readonly.c |
diff --git a/src/platform/tpm_lite/src/testsuite/readonly.c b/src/platform/tpm_lite/src/testsuite/readonly.c |
index 47ee0a4b18eec6a6196a4223bee42cde57a48fd7..2cd432546bf49c87ae0f6ea42c5d69f24e85dfed 100644 |
--- a/src/platform/tpm_lite/src/testsuite/readonly.c |
+++ b/src/platform/tpm_lite/src/testsuite/readonly.c |
@@ -35,7 +35,7 @@ |
*/ |
void InitializeSpaces(void) { |
uint32_t zero = 0; |
- uint32_t perm = TPM_NV_PER_WRITE_STCLEAR; |
+ uint32_t perm = TPM_NV_PER_WRITE_STCLEAR | TPM_NV_PER_PPWRITE; |
printf("Initializing spaces\n"); |
TlclSetNvLocked(); /* useful only the first time */ |
@@ -67,10 +67,8 @@ int main(void) { |
TlclLibinit(); |
-#if 0 |
TlclStartup(); |
TlclSelftestfull(); |
-#endif |
TlclAssertPhysicalPresence(); |