diff options
Diffstat (limited to 'board/cr50/tpm2/NVMem.c')
-rw-r--r-- | board/cr50/tpm2/NVMem.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/cr50/tpm2/NVMem.c b/board/cr50/tpm2/NVMem.c index e1a14b4536..052165d5b6 100644 --- a/board/cr50/tpm2/NVMem.c +++ b/board/cr50/tpm2/NVMem.c @@ -14,9 +14,12 @@ #include "Platform.h" #include "PlatformData.h" +#include "TPM_Types.h" #include "TpmError.h" #include "assert.h" +#include "ec_comm.h" #include "nvmem.h" +#include "tpm_nvmem.h" /* Local state */ static struct { @@ -188,3 +191,9 @@ void _plat__ClearNvAvail(void) local_state.s_NvIsAvailable = FALSE; return; } + +void _plat__NvInformIndexDataChanged(unsigned int handle) +{ + if (handle == (HR_NV_INDEX + KERNEL_NV_INDEX)) + ec_efs_refresh(); +} |