diff options
| author | Tom Warren <twarren@nvidia.com> | 2012-12-21 16:09:52 -0700 | 
|---|---|---|
| committer | Tom Warren <twarren@nvidia.com> | 2013-01-16 13:40:08 -0700 | 
| commit | bb1e7cde624d44edf75c1b607fd6c60e038f98dd (patch) | |
| tree | d705d9b9c44aabc415f78d575bf0e3e7fe77f556 /include/configs/tegra30-common.h | |
| parent | 083bbbbe771afce5e06793c6c831367b596cf03e (diff) | |
| download | olio-uboot-2014.01-bb1e7cde624d44edf75c1b607fd6c60e038f98dd.tar.xz olio-uboot-2014.01-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.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/include/configs/tegra30-common.h b/include/configs/tegra30-common.h index 282caec44..04517e140 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_ */ |