/* st33zp24_i2c_read8_reg Recv byte from the TIS register according to the ST33ZP24 I2C protocol.  */
static int st33zp24_i2c_read8_reg(struct udevice *dev, u8 tpm_register, u8 *tpm_data, size_t tpm_size)
/* st33zp24_i2c_read8_reg Recv byte from the TIS register according to the ST33ZP24 I2C protocol.  */
static int st33zp24_i2c_read8_reg(struct udevice *dev, u8 tpm_register, u8 *tpm_data, size_t tpm_size)
{
	int status;
	u8 data;
	data = TPM_DUMMY_BYTE;
	status = st33zp24_i2c_write8_reg(dev, tpm_register, &data, 1);
	if (status < 0)
		return status;
	return dm_i2c_read(dev, 0, tpm_data, tpm_size);
}