summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2api.h
diff options
context:
space:
mode:
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_ */