[U-Boot] [PATCH v4 0/4] Move tpm_tis_i2c to tpm_tis_infineon and convert last tpm driver to use DM_TPM
Christophe Ricard
christophe.ricard at gmail.com
Tue Oct 6 22:54:40 CEST 2015
Hi Simon,
This patch serie move tpm_tis_i2c driver to tpm_tis_infineon.
It also convert the latest tpm driver tpm_atmel_twi to DM_TPM.
In v4, i am fixing compilation errors you reported on patch 2 and 3.
On patch 2 i chose to convert tpm_atmel_twi to DM_TPM without using DM_I2C
as a first step to complete the core DM_TPM conversion.
Hope this approach is acceptable.
Best Regards
Christophe
Changes in v4:
- Fix compilation issues reported by Simon Glass on
- patch 2: dm: tpm: Add Driver Model support for tpm_atmel_twi driver
- patch 3: dm: tpm: Remove every compilation switch for TPM driver model
Changes in v3:
- Adding mention to Tom Rini review
Changes in v2:
- Change existing users of config to use renamed Kconfig
Christophe Ricard (4):
dm: tpm: Move tpm_tis_i2c to tpm_i2c_infineon
dm: tpm: Add Driver Model support for tpm_atmel_twi driver
dm: tpm: Remove every compilation switch for TPM driver model
dm: tpm: Every TPM drivers should depends on DM_TPM
README | 4 +-
common/cmd_tpm.c | 13 +----
.../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig | 2 +
configs/controlcenterd_36BIT_SDCARD_defconfig | 2 +
.../controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 2 +
configs/controlcenterd_TRAILBLAZER_defconfig | 2 +
configs/nyan-big_defconfig | 2 +-
configs/peach-pi_defconfig | 2 +-
configs/peach-pit_defconfig | 2 +-
configs/snow_defconfig | 2 +-
configs/spring_defconfig | 2 +-
drivers/tpm/Kconfig | 10 ++--
drivers/tpm/Makefile | 2 +-
drivers/tpm/tpm_atmel_twi.c | 68 ++++++++++++++++------
drivers/tpm/{tpm_tis_i2c.c => tpm_tis_infineon.c} | 5 +-
drivers/tpm/{tpm_tis_i2c.h => tpm_tis_infineon.h} | 0
drivers/tpm/tpm_tis_lpc.c | 1 -
include/tis.h | 60 -------------------
include/tpm.h | 6 --
lib/tpm.c | 20 +------
20 files changed, 77 insertions(+), 130 deletions(-)
rename drivers/tpm/{tpm_tis_i2c.c => tpm_tis_infineon.c} (99%)
rename drivers/tpm/{tpm_tis_i2c.h => tpm_tis_infineon.h} (100%)
delete mode 100644 include/tis.h
--
2.1.4
More information about the U-Boot
mailing list