diff options
author | Joel Kitching <kitching@google.com> | 2019-08-20 15:00:40 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-28 07:32:02 +0000 |
commit | 0ff87642e865fca49fa9584cffa1b0c4810adced (patch) | |
tree | d8c72d0c1a816bab362132930228751cd77a4be9 /firmware/2lib/include/2secdata.h | |
parent | 4539726499d6ee43077918eee3e1768040b45983 (diff) | |
download | vboot-0ff87642e865fca49fa9584cffa1b0c4810adced.tar.gz |
vboot/secdata: fix up 2secdata{,k} and tests
These are not yet used in production and need some fixing up
first.
BUG=b:124141368, chromium:972956
TEST=make clean && make runtests
BRANCH=none
Change-Id: Ifbd0e761cc5bc05437bfed774fb15d5e8ef1b8e7
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1758149
Tested-by: Joel Kitching <kitching@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2secdata.h')
-rw-r--r-- | firmware/2lib/include/2secdata.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/2lib/include/2secdata.h b/firmware/2lib/include/2secdata.h index 90f4bf23..bcd308b9 100644 --- a/firmware/2lib/include/2secdata.h +++ b/firmware/2lib/include/2secdata.h @@ -5,13 +5,12 @@ * Secure non-volatile storage routines */ -#ifndef VBOOT_REFERENCE_VBOOT_SECDATA_H_ -#define VBOOT_REFERENCE_VBOOT_SECDATA_H_ +#ifndef VBOOT_REFERENCE_VBOOT_2SECDATA_H_ +#define VBOOT_REFERENCE_VBOOT_2SECDATA_H_ /*****************************************************************************/ /* Firmware version space */ -/* Expected value of vb2_secdata.version */ #define VB2_SECDATA_VERSION 2 /* Flags for firmware space */ @@ -124,7 +123,7 @@ vb2_error_t vb2_secdata_set(struct vb2_context *ctx, enum vb2_secdata_param param, uint32_t value); /*****************************************************************************/ -/* Kernel version space functions. +/* Kernel version space functions * * These are separate functions so that they don't bloat the size of the early * boot code which uses the firmware version space functions. |