Skip to content

Commit 34756ba

Browse files
committed
added uboot to tpm_io.h bc it changed locations
1 parent eda0187 commit 34756ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hal/tpm_io.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
* - Xilinx Zynq
5050
* - Barebox
5151
* - QNX
52+
* - uboot
5253
* - Infineon Tri-Core
5354
* - Microchip MPLAB X Harmony (WOLFTPM_MICROCHIP_HARMONY)
5455
* Using custom IO Callback is always possible.
@@ -110,6 +111,9 @@ WOLFTPM_LOCAL int TPM2_IoCb_STCubeMX_SPI(TPM2_CTX* ctx, const byte* txBuf, byte*
110111
#elif defined(__QNX__) || defined(__QNXTO__)
111112
WOLFTPM_LOCAL int TPM2_IoCb_QNX_SPI(TPM2_CTX* ctx, const byte* txBuf,
112113
byte* rxBuf, word16 xferSz, void* userCtx);
114+
#elif defined(__UBOOT__)
115+
int TPM2_IoCb_Uboot_SPI(TPM2_CTX* ctx, const byte* txBuf,
116+
byte* rxBuf, word16 xferSz, void* userCtx);
113117
#elif defined(__XILINX__)
114118
WOLFTPM_LOCAL int TPM2_IoCb_Xilinx_SPI(TPM2_CTX* ctx, const byte* txBuf,
115119
byte* rxBuf, word16 xferSz, void* userCtx);

0 commit comments

Comments
 (0)