diff options
author | Joel Kitching <kitching@google.com> | 2019-08-20 17:43:50 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-28 07:32:05 +0000 |
commit | 9adf2aa24307937380debb703ac07b8093a25f61 (patch) | |
tree | b95c5bbb5259714ef86c125894267d0476cd62fe /firmware/lib/tpm_lite | |
parent | a762fa782793e7b13ba13ceed474f20c54afbdd3 (diff) | |
download | vboot-9adf2aa24307937380debb703ac07b8093a25f61.tar.gz |
vboot: fix up some headers, includes, comments, spacing
BUG=b:124141368
TEST=make clean && make runtests
BRANCH=none
Change-Id: Id97f544da845f7070555e5e8cc6e782b2d45c300
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1758151
Tested-by: Joel Kitching <kitching@chromium.org>
Reviewed-by: Joel Kitching <kitching@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'firmware/lib/tpm_lite')
-rw-r--r-- | firmware/lib/tpm_lite/include/tlcl_internal.h | 6 | ||||
-rw-r--r-- | firmware/lib/tpm_lite/include/tpm_error_messages.h | 11 |
2 files changed, 8 insertions, 9 deletions
diff --git a/firmware/lib/tpm_lite/include/tlcl_internal.h b/firmware/lib/tpm_lite/include/tlcl_internal.h index 28eff1d9..98903990 100644 --- a/firmware/lib/tpm_lite/include/tlcl_internal.h +++ b/firmware/lib/tpm_lite/include/tlcl_internal.h @@ -3,8 +3,8 @@ * found in the LICENSE file. */ -#ifndef TPM_LITE_TLCL_INTERNAL_H_ -#define TPM_LITE_TLCL_INTERNAL_H_ +#ifndef VBOOT_REFERENCE_TLCL_INTERNAL_H_ +#define VBOOT_REFERENCE_TLCL_INTERNAL_H_ /* * These numbers derive from adding the sizes of command fields as shown in the @@ -84,4 +84,4 @@ static inline uint16_t ReadTpmUint16(const uint8_t **buffer) { return value; } -#endif /* TPM_LITE_TLCL_INTERNAL_H_ */ +#endif /* VBOOT_REFERENCE_TLCL_INTERNAL_H_ */ diff --git a/firmware/lib/tpm_lite/include/tpm_error_messages.h b/firmware/lib/tpm_lite/include/tpm_error_messages.h index 834ba2d0..ad2692c4 100644 --- a/firmware/lib/tpm_lite/include/tpm_error_messages.h +++ b/firmware/lib/tpm_lite/include/tpm_error_messages.h @@ -1,16 +1,15 @@ /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
- */
-
-/* TPM error codes.
+ *
+ * TPM error codes.
*
* Copy-pasted and lightly edited from TCG TPM Main Part 2 TPM Structures
* Version 1.2 Level 2 Revision 103 26 October 2006 Draft.
*/
-#ifndef TPM_ERROR_MESSAGES_H
-#define TPM_ERROR_MESSAGES_H
+#ifndef VBOOT_REFERENCE_TPM_ERROR_MESSAGES_H_
+#define VBOOT_REFERENCE_TPM_ERROR_MESSAGES_H_
#define TPM_E_BASE 0x0
#define TPM_E_NON_FATAL 0x800
@@ -247,4 +246,4 @@ because the ordinal required resources that have not been tested" }, time-out period" },
};
-#endif /* TPM_ERROR_MESSAGES_H */
+#endif /* VBOOT_REFERENCE_TPM_ERROR_MESSAGES_H_ */
|