diff options
author | Leo Lai <cylai@chromium.org> | 2021-05-13 22:36:09 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-16 18:19:41 +0000 |
commit | 98e4da99997a020f8aba11b2cfc7edaf67376677 (patch) | |
tree | 60b047cee412ea058a598434107f50c3c0f54976 /board/cr50/tpm2/virtual_nvmem.h | |
parent | b529376c7bc36d9627d0e1992fa470be76014674 (diff) | |
download | chrome-ec-98e4da99997a020f8aba11b2cfc7edaf67376677.tar.gz |
add reserved `VIRTUAL_NV_INDEX_RMA_BYTES` in comment.
The index is added to cr50 repository while the usage is only for
generic TPM2.0 case. In the future we don't want GSC to re-use the index
number.
BUG=b:187821960
BUG=b:191163997
TEST=make buildall -j
Signed-off-by: cylai@chromium.org
Change-Id: I6cfb12cf4558dd0bf2c99e045ef6e0b89698bbc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2892151
Tested-by: Leo Lai <cylai@google.com>
Commit-Queue: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'board/cr50/tpm2/virtual_nvmem.h')
-rw-r--r-- | board/cr50/tpm2/virtual_nvmem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/cr50/tpm2/virtual_nvmem.h b/board/cr50/tpm2/virtual_nvmem.h index 8321daa88c..3bf5524af7 100644 --- a/board/cr50/tpm2/virtual_nvmem.h +++ b/board/cr50/tpm2/virtual_nvmem.h @@ -25,6 +25,9 @@ enum virtual_nv_index { VIRTUAL_NV_INDEX_SN_DATA, VIRTUAL_NV_INDEX_G2F_CERT, VIRTUAL_NV_INDEX_RSU_DEV_ID, + /* Reserved for generic TPM2.0 stand-alone counter. */ + /* TODO(b/191163997): support reading RMA bytes via this index. */ + /* VIRTUAL_NV_INDEX_RMA_BYTES = 0x013fff04, */ VIRTUAL_NV_INDEX_END, }; /* Reserved space for future virtual indexes; this is the last valid index. */ |