From bb1e7cde624d44edf75c1b607fd6c60e038f98dd Mon Sep 17 00:00:00 2001 From: Tom Warren Date: Fri, 21 Dec 2012 16:09:52 -0700 Subject: Tegra30: I2C: Enable I2C driver on Cardhu Tested all 5 'buses', i2c probe enumerates device addresses on all but dev 4 (I2C4) [no devices on that bus on my Cardhu]. Note that this uses the extant tegra_i2c.c driver w/o modification. Signed-off-by: Tom Warren --- include/configs/tegra30-common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/configs/tegra30-common.h') diff --git a/include/configs/tegra30-common.h b/include/configs/tegra30-common.h index 282caec44b..04517e1409 100644 --- a/include/configs/tegra30-common.h +++ b/include/configs/tegra30-common.h @@ -83,4 +83,7 @@ #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/tegra30/u-boot-spl.lds" +/* Total I2C ports on Tegra30 */ +#define TEGRA_I2C_NUM_CONTROLLERS 5 + #endif /* _TEGRA30_COMMON_H_ */ -- cgit v1.2.1