diff options
author | Scott <scollyer@chromium.org> | 2016-05-20 11:28:19 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-05-26 18:08:57 -0700 |
commit | 7184144012cdcfdede45efc3ad3b121ec16ddacf (patch) | |
tree | ae46cd084ce5270b68588c872b9fee379d267572 /PRESUBMIT.cfg | |
parent | df35737d63811cd7ad9e4ce62406448fd709b431 (diff) | |
download | chrome-ec-7184144012cdcfdede45efc3ad3b121ec16ddacf.tar.gz |
Cr50: NvMem: Connected function stubs in /board/tpm2/NVMem.c
Used #define CONFIG_FLASH_NVMEM to have functions in
/board/tpm2/NVMem.c utlitize on chip Nvmem functions.
On chip NV Memory availability is tied to an internal nvmem
error state which itself only depends on finding at least one
valid partition.
Added nvmem_is_different and nvmem_move functions which were
needed to complete the tpm2 platform interface. In addition,
added unit tests to support these two new functions.
BUG=chrome-os-partner:44745
BRANCH=none
TEST=manual
make runtests TEST_LIST_HOST=nvmem and verify that all tests pass.
Tested with tcg_test utility to test reads/writes using the
command "build/test-tpm2/install/bin/compliance --ntpm
localhost:9883 --select CPCTPM_TC2_3_33_07_01".
Change-Id: I475fdd1331e28ede00f9b674c7bee1536fa9ea48
Signed-off-by: Scott <scollyer@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/346236
Commit-Ready: Scott Collyer <scollyer@chromium.org>
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'PRESUBMIT.cfg')
0 files changed, 0 insertions, 0 deletions