blob: ce052ad9840db7f13fd7b8fb00077574bd99af7a [file] [log] [blame]
Abhi.Singhc8c5faf2024-08-28 14:17:52 -05001/*
2 * Copyright (c) 2025, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <stdbool.h>
8#include <stdint.h>
9
10#ifndef TPM2_CHIP_H
11#define TPM2_CHIP_H
12
13#define BYTE U(0x1)
14#define WORD U(0x2)
15#define DWORD U(0x4)
16
17struct tpm_chip_data {
18 uint8_t locality;
19 unsigned long timeout_msec_a, timeout_msec_b;
20 unsigned long timeout_msec_c, timeout_msec_d;
21 uint16_t address;
22};
23
24#endif /* TPM2_CHIP_H */