diff options
author | Nico Huber <nico.huber@secunet.com> | 2017-08-01 14:02:40 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-08-18 15:33:29 +0000 |
commit | 0f2dd1eff9930e30dddd9aabceb5d85ee3b4e980 (patch) | |
tree | 50de642731203f720012db6bd2829d8dada2be40 /src/drivers/i2c/tpm/cr50.c | |
parent | 457fba6be5c2b31f6fc50a5e6feabf73a2663330 (diff) | |
download | coreboot-0f2dd1eff9930e30dddd9aabceb5d85ee3b4e980.tar.xz |
include/device: Split i2c.h into three
Split `i2c.h` into three pieces to ease reuse of the generic defi-
nitions. No code is changed.
* `i2c.h` - keeps the generic definitions
* `i2c_simple.h` - holds the current, limited to one controller driver
per board, devicetree independent I2C interface
* `i2c_bus.h` - will become the devicetree compatible interface for
native I2C (e.g. non-SMBus) controllers
Change-Id: I382d45c70f9314588663e1284f264f877469c74d
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/20845
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/i2c/tpm/cr50.c')
-rw-r--r-- | src/drivers/i2c/tpm/cr50.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/tpm/cr50.c b/src/drivers/i2c/tpm/cr50.c index 3505dcec1d..baf5fe0cce 100644 --- a/src/drivers/i2c/tpm/cr50.c +++ b/src/drivers/i2c/tpm/cr50.c @@ -36,7 +36,7 @@ #include <types.h> #include <delay.h> #include <console/console.h> -#include <device/i2c.h> +#include <device/i2c_simple.h> #include <endian.h> #include <timer.h> #include <tpm.h> |