]> git.sur5r.net Git - u-boot/commitdiff
OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5
authorLubomir Popov <lpopov@mm-sol.com>
Mon, 8 Apr 2013 21:49:43 +0000 (21:49 +0000)
committerTom Rini <trini@ti.com>
Fri, 10 May 2013 12:25:55 +0000 (08:25 -0400)
I2C4 and I2C5 are utilized on all known OMAP5 hardware platforms.
In order to be able to select one of these buses however, I2C_BUS_MAX
has to be set to 5; do this here.

Please note that for working bus selection, a fix to the i2c driver
is required as well (subject of a separate patch).

Signed-off-by: Lubomir Popov <lpopov@mm-sol.com>
arch/arm/include/asm/arch-omap5/i2c.h

index 68be03be587808440208c437dcbba8b58a1c5dd3..ec39a5318dd85371f18aeb2be2c65eb743aa5b7a 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef _OMAP5_I2C_H_
 #define _OMAP5_I2C_H_
 
-#define I2C_BUS_MAX    3
+#define I2C_BUS_MAX    5
 #define I2C_DEFAULT_BASE       I2C_BASE1
 
 struct i2c {