diff options
author | Nicolas Norvez <norvez@chromium.org> | 2018-11-04 17:32:44 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-07 20:27:34 -0800 |
commit | d20f90a205e86bf49307402a12c49226ae1ee03d (patch) | |
tree | 95bd79857befc6d6cbe42463b52b7c6b6d51efb9 /util | |
parent | 5ffa5f9a44c9f392ac90849fe5146892796594bf (diff) | |
download | chrome-ec-d20f90a205e86bf49307402a12c49226ae1ee03d.tar.gz |
fpsensor: Move the definition of FP_TEMPLATE_FORMAT_VERSION
Move it to ec_commands.h so it's accessible to tools.
BRANCH=nocturne
BUG=b:73337313
TEST=make BOARD=nocturne_fp -j
Change-Id: Ib7eecee599dde2d755357c2543ad860b64258f3f
Signed-off-by: Nicolas Norvez <norvez@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1316706
Reviewed-by: Prashant Malani <pmalani@google.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/ectool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool.c b/util/ectool.c index 3d3cf21693..b78331f638 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -1485,7 +1485,7 @@ int cmd_fp_seed(int argc, char *argv[]) return 1; } printf("Setting seed '%s'\n", seed); - p.struct_version = 3; + p.struct_version = FP_TEMPLATE_FORMAT_VERSION; memcpy(p.seed, seed, FP_CONTEXT_TPM_BYTES); rv = ec_command(EC_CMD_FP_SEED, 0, &p, sizeof(p), NULL, 0); |