tpm: Support using driver model with I2C
authorSimon Glass <sjg@chromium.org>
Mon, 4 May 2015 17:30:59 +0000 (11:30 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:33 +0000 (18:49 -0600)
commitf90acf1ad02c1eb2724397d60b833b9c8bbcdab6
tree38d5e205a0f4dedb878f15ef292bddc12eb8cd5f
parent01501804fdab0c80e31d1aa221d8afb79d436e52
tpm: Support using driver model with I2C

As a first step towards converting the TPM system to driver model, allow it
to work with CONFIG_DM_I2C.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/tpm/tpm.c
drivers/tpm/tpm_private.h
drivers/tpm/tpm_tis_i2c.c