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 /utility | |
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 'utility')
-rw-r--r-- | utility/include/gbb_utility.h | 10 | ||||
-rw-r--r-- | utility/include/tpmextras.h | 10 |
2 files changed, 9 insertions, 11 deletions
diff --git a/utility/include/gbb_utility.h b/utility/include/gbb_utility.h index f1c850fe..da4504be 100644 --- a/utility/include/gbb_utility.h +++ b/utility/include/gbb_utility.h @@ -1,7 +1,7 @@ -// 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. - +/* 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. + */ #ifndef VBOOT_REFERENCE_GBB_UTILITY_H_ #define VBOOT_REFERENCE_GBB_UTILITY_H_ @@ -99,4 +99,4 @@ class GoogleBinaryBlockUtil { } // namespace vboot_reference -#endif // VBOOT_REFERENCE_GBB_UTILITY_H_ +#endif /* VBOOT_REFERENCE_GBB_UTILITY_H_ */ diff --git a/utility/include/tpmextras.h b/utility/include/tpmextras.h index 23813e82..10802fce 100644 --- a/utility/include/tpmextras.h +++ b/utility/include/tpmextras.h @@ -1,14 +1,12 @@ /* 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 definitions not available in any TSS include file :-( */ -#ifndef TPM_LITE_TPMEXTRAS_H_ -#define TPM_LITE_TPMEXTRAS_H_ +#ifndef VBOOT_REFERENCE_TPMEXTRAS_H_ +#define VBOOT_REFERENCE_TPMEXTRAS_H_ #define TPM_MAX_COMMAND_SIZE 4096 #define TPM_LARGE_ENOUGH_COMMAND_SIZE 256 /* saves space in the firmware */ @@ -21,4 +19,4 @@ typedef struct tdTPM_WRITE_INFO { uint32_t dataSize; } TPM_WRITE_INFO; -#endif +#endif /* VBOOT_REFERENCE_TPMEXTRAS_H_ */ |