summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-12-18 21:45:34 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-12-18 21:45:34 +0100
commitfe7f0810ddf41939bbdd22fe39b0b80fdfe0636b (patch)
tree7ae945711f3b37183fef66e694cedd35f8e722e9 /drivers
parentf4e4aadeaddaf148f02f52b9e24ea19ab84f3475 (diff)
parent766afc3dff35f8f257deb0373735a328c8206880 (diff)
Merge branch 'u-boot-tegra/master' into 'u-boot-arm/master'
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/tegra_i2c.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/i2c/tegra_i2c.c b/drivers/i2c/tegra_i2c.c
index 9847cf126b..594e5ddeb4 100644
--- a/drivers/i2c/tegra_i2c.c
+++ b/drivers/i2c/tegra_i2c.c
@@ -629,3 +629,8 @@ U_BOOT_I2C_ADAP_COMPLETE(tegra2, tegra_i2c_init, tegra_i2c_probe,
U_BOOT_I2C_ADAP_COMPLETE(tegra3, tegra_i2c_init, tegra_i2c_probe,
tegra_i2c_read, tegra_i2c_write,
tegra_i2c_set_bus_speed, 100000, 0, 3)
+#if TEGRA_I2C_NUM_CONTROLLERS > 4
+U_BOOT_I2C_ADAP_COMPLETE(tegra4, tegra_i2c_init, tegra_i2c_probe,
+ tegra_i2c_read, tegra_i2c_write,
+ tegra_i2c_set_bus_speed, 100000, 0, 4)
+#endif