summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2api.h
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-08-20 17:43:50 +0800
committerCommit Bot <commit-bot@chromium.org>2019-08-28 07:32:05 +0000
commit9adf2aa24307937380debb703ac07b8093a25f61 (patch)
treeb95c5bbb5259714ef86c125894267d0476cd62fe /firmware/2lib/include/2api.h
parenta762fa782793e7b13ba13ceed474f20c54afbdd3 (diff)
downloadvboot-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/2lib/include/2api.h')
-rw-r--r--firmware/2lib/include/2api.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/firmware/2lib/include/2api.h b/firmware/2lib/include/2api.h
index 12aa14e8..b091731b 100644
--- a/firmware/2lib/include/2api.h
+++ b/firmware/2lib/include/2api.h
@@ -1,9 +1,8 @@
/* Copyright (c) 2013 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.
- */
-
-/* APIs between calling firmware and vboot_reference
+ *
+ * APIs between calling firmware and vboot_reference
*
* General notes:
*
@@ -17,9 +16,8 @@
* must be done elsewhere, and VB2_NV_DEBUG_RESET_MODE is ignored.
*/
-#ifndef VBOOT_2_API_H_
-#define VBOOT_2_API_H_
-#include <stdint.h>
+#ifndef VBOOT_REFERENCE_2API_H_
+#define VBOOT_REFERENCE_2API_H_
#include "2constants.h"
#include "2crypto.h"
@@ -28,6 +26,7 @@
#include "2id.h"
#include "2recovery_reasons.h"
#include "2return_codes.h"
+#include "2secdata.h"
/* Modes for vb2ex_tpm_set_mode. */
enum vb2_tpm_mode {
@@ -740,4 +739,4 @@ vb2_error_t vb2ex_hwcrypto_digest_finalize(uint8_t *digest,
*/
vb2_error_t vb2ex_tpm_set_mode(enum vb2_tpm_mode mode_val);
-#endif /* VBOOT_2_API_H_ */
+#endif /* VBOOT_REFERENCE_2API_H_ */