diff options
author | Joel Kitching <kitching@google.com> | 2020-07-06 13:58:11 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-10 06:33:46 +0000 |
commit | 28eededf643cc3cb278e8aa276b9c97e527dabdb (patch) | |
tree | 1a29c05e0ecaaed4600df2f3d86f81e77555f618 /firmware/lib/tpm_lite/mocked_tlcl.c | |
parent | a3815e035f442473300951dc0ea93c3f01297659 (diff) | |
download | vboot-28eededf643cc3cb278e8aa276b9c97e527dabdb.tar.gz |
vboot: move TPM callbacks to vboot2 namespace
Move TPM callback definitions from vboot_api.h to 2api.h.
BUG=b:124141368, chromium:968464
TEST=make clean && make runtests
BRANCH=none
Cq-Depend: chromium:2282023
Signed-off-by: Joel Kitching <kitching@google.com>
Change-Id: Iad9da9fd3b6786609148d08b88f2e62ac3dee627
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2282322
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/lib/tpm_lite/mocked_tlcl.c')
-rw-r--r-- | firmware/lib/tpm_lite/mocked_tlcl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/lib/tpm_lite/mocked_tlcl.c b/firmware/lib/tpm_lite/mocked_tlcl.c index 838b5e7e..c29ada7b 100644 --- a/firmware/lib/tpm_lite/mocked_tlcl.c +++ b/firmware/lib/tpm_lite/mocked_tlcl.c @@ -6,11 +6,10 @@ #include "2sysincludes.h" #include "tlcl.h" #include "tlcl_internal.h" -#include "vboot_api.h" uint32_t TlclLibInit(void) { - return VbExTpmInit(); + return TPM_SUCCESS; } uint32_t TlclLibClose(void) |