]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: tpm: atmel_twi: do not use an offset byte
authorMathew McBride <matt@traverse.com.au>
Thu, 11 Nov 2021 04:06:29 +0000 (04:06 +0000)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 17 Nov 2021 11:47:31 +0000 (13:47 +0200)
commitfdb4a5fcd7458d6cf075d908a499f822a9787fac
tree6aa3029dfcf56a61c9c3ef55297ad5e8418df51f
parent02f50d8ebbcf318e068c30882b3638dd1cfbf03e
drivers: tpm: atmel_twi: do not use an offset byte

This driver was broken due to an empty offset byte being prepended
at the start of every transmission.

The hardware does not mimic an EEPROM device with registers so
an offset byte is not required.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/tpm/tpm_atmel_twi.c