summaryrefslogtreecommitdiffstats
path: root/include/configs/tegra30-common.h
diff options
context:
space:
mode:
authorTom Warren <twarren@nvidia.com>2012-12-21 16:09:52 -0700
committerTom Warren <twarren@nvidia.com>2013-01-16 13:40:08 -0700
commitbb1e7cde624d44edf75c1b607fd6c60e038f98dd (patch)
treed705d9b9c44aabc415f78d575bf0e3e7fe77f556 /include/configs/tegra30-common.h
parent083bbbbe771afce5e06793c6c831367b596cf03e (diff)
downloadtalos-obmc-uboot-bb1e7cde624d44edf75c1b607fd6c60e038f98dd.tar.gz
talos-obmc-uboot-bb1e7cde624d44edf75c1b607fd6c60e038f98dd.zip
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 <twarren@nvidia.com>
Diffstat (limited to 'include/configs/tegra30-common.h')
-rw-r--r--include/configs/tegra30-common.h3
1 files changed, 3 insertions, 0 deletions
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_ */
OpenPOWER on IntegriCloud