[U-Boot] [PATCH 01/25] tpm: Remove old pre-driver-model I2C code

Simon Glass
2015-08-13T01:30:28Z

Hi Christophe,

On 11 August 2015 at 15:41, christophe.ricard
<christophe.ricard@gmail.com> wrote:
> Hi Simon,
>
> In here you are removing usage of i2c_read/i2c_write for
> dm_i2c_read/dm_i2c_write.
> This require boards to support DM_I2C which is not the case with example
> beagleboard or boards using omap.

As far as I know those boards don't use a TPM. We can really only deal
with source code which is present in mainline.

>
> Will you drop all drivers not supporting DM in the future ?

At some point, but I suspect it might be quite a while before we even
start that. In any case this is not what I am doing here.

>
> Other than that i have proposed about the same change here:
> http://lists.denx.de/pipermail/u-boot/2015-August/222598.html
>
> Acked-by: Christophe Ricard <christophe-h.ricard@st.com>
>
> Best Regards
> Christophe
>
> On 11/08/2015 16:47, Simon Glass wrote:
>>
>> This is not used anymore by any board so drop it.
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>> ---
>>
>> drivers/tpm/tpm.c | 108
>> ++--------------------------------------------
>> drivers/tpm/tpm_private.h | 4 +-
>> drivers/tpm/tpm_tis_i2c.c | 74 +------------------------------
>> 3 files changed, 7 insertions(+), 179 deletions(-)
>>
[snip]

Regards,
Simon