Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Unified Diff: firmware/stub/include/tpmextras.h

Issue 3116025: Added new commands and reactivated full rebuild after fixing for ARM ebuild. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: move to new build flow (no changes expected) Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « firmware/lib/tpm_lite/tlcl.c ('k') | firmware/stub/tpm_lite_stub.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/stub/include/tpmextras.h
diff --git a/firmware/stub/include/tpmextras.h b/firmware/stub/include/tpmextras.h
index abd5837729cabf881d17ce1ef27279479e61c566..0fe0982a892c55256f7093bf4001a60392b41d92 100644
--- a/firmware/stub/include/tpmextras.h
+++ b/firmware/stub/include/tpmextras.h
@@ -10,10 +10,13 @@
#ifndef TPM_LITE_TPMEXTRAS_H_
#define TPM_LITE_TPMEXTRAS_H_
-#include <tss/tcs.h>
-
#define TPM_MAX_COMMAND_SIZE 4096
#define TPM_LARGE_ENOUGH_COMMAND_SIZE 256 /* saves space in the firmware */
+#define TPM_ENCAUTH_SIZE 20
+#define TPM_PUBEK_SIZE 256
+
+#define TPM_ALL_LOCALITIES (TPM_LOC_ZERO | TPM_LOC_ONE | TPM_LOC_TWO \
+ | TPM_LOC_THREE | TPM_LOC_FOUR) /* 0x1f */
typedef struct tdTPM_WRITE_INFO {
uint32_t nvIndex;
@@ -21,10 +24,4 @@ typedef struct tdTPM_WRITE_INFO {
uint32_t dataSize;
} TPM_WRITE_INFO;
-#define TPM_ALL_LOCALITIES (TPM_LOC_ZERO | TPM_LOC_ONE | TPM_LOC_TWO \
- | TPM_LOC_THREE | TPM_LOC_FOUR) /* 0x1f */
-
-#define TPM_ENCAUTH_SIZE 20
-#define TPM_PUBEK_SIZE 256
-
#endif
« no previous file with comments | « firmware/lib/tpm_lite/tlcl.c ('k') | firmware/stub/tpm_lite_stub.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698