summaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2023-04-13 15:21:41 -0500
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-04-14 21:10:56 +0000
commitc65ffbb853be7999cc24220c66da79e3ade4e857 (patch)
tree4166872a98264f9ac3ec79e6855dee41d8c610b9 /.pylintrc
parent37fa38296266e62adfe10226b7b1a22ac9335537 (diff)
downloadchrome-ec-c65ffbb853be7999cc24220c66da79e3ade4e857.tar.gz
virtual_nvmem: add virtual nvmem factory_config support
Add support for reading the factory config from virtual nvmem. This change uses the same index as ti50 --index=0x3fff06. There are two indices that are reserved, but not implemented for cr50. This change registers a REGISTER_DEPRECATED_CONFIG for VIRTUAL_NV_INDEX_RMA_BYTES and VIRTUAL_NV_INDEX_WV_UDS_BYTES. BUG=b:278118981,b:214065944 TEST=manual Set the factory config to 0xface Read the config from virtual nvmem tpm_manager_client read_space --index=0x3fff06 --file=/tmp/contents INFO tpm_manager_client: [main.cc(595)] ... result: NVRAM_RESULT_SUCCESS data: CEFA000000000000 } RMA_BYTES and the WV_UDS_BYTES index still return nothing tpm_manager_client read_space --index=0x3fff04 --file=/tmp/contents INFO tpm_manager_client: [main.cc(595)] ... result: NVRAM_RESULT_SUCCESS data: } tpm_manager_client read_space --index=0x3fff05 --file=/tmp/contents INFO tpm_manager_client: [main.cc(595)] ... result: NVRAM_RESULT_SUCCESS data: } Change-Id: I651f00851b1e60fe0f898fd75111be27b2bf497e Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4424877 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to '.pylintrc')
0 files changed, 0 insertions, 0 deletions