diff options
Diffstat (limited to 'src/security/intel/txt/txtlib.c')
-rw-r--r-- | src/security/intel/txt/txtlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/intel/txt/txtlib.c b/src/security/intel/txt/txtlib.c index 5478206ee2..6ce86a3e91 100644 --- a/src/security/intel/txt/txtlib.c +++ b/src/security/intel/txt/txtlib.c @@ -20,7 +20,7 @@ bool is_establishment_bit_asserted(void) stopwatch_init_msecs_expire(&timer, 50); while (true) { - access = read8((void *)TPM_ACCESS_REG); + access = read8p(TPM_ACCESS_REG); /* Register returns all ones if TPM is missing */ if (access == 0xff) |