tpm: Clean up I2C TPM driver

Drop a lot of u-boot-isms and share common TIS API
between I2C driver and LPC driver.

Signed-off-by: Stefan Reinauer <>

Change-Id: I43be8eea0acbdaef58ef256a2bc5336b83368a0e
Commit-Queue: Stefan Reinauer <>
Tested-by: Stefan Reinauer <>
Reviewed-by: David Hendricks <>
(cherry picked from commit 3fc8515b9dcef66998658e1aa5c020d22509810c)
Signed-off-by: Isaac Christensen <>
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <>
12 files changed