aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Popov2013-04-08 16:49:43 -0500
committerTom Rini2013-05-10 07:25:55 -0500
commit2335b653d1cb971ddc467f85051fd850c3cd4a10 (patch)
tree74d48607f38f0decb58ad232880cd34b43cb9fde /arch/arm/include/asm/arch-omap5/i2c.h
parentaebe7ff2b261ed7c4eca141ecd90a63d85de9972 (diff)
downloadu-boot-2335b653d1cb971ddc467f85051fd850c3cd4a10.tar.gz
u-boot-2335b653d1cb971ddc467f85051fd850c3cd4a10.tar.xz
u-boot-2335b653d1cb971ddc467f85051fd850c3cd4a10.zip
OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5
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>
Diffstat (limited to 'arch/arm/include/asm/arch-omap5/i2c.h')
-rw-r--r--arch/arm/include/asm/arch-omap5/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-omap5/i2c.h b/arch/arm/include/asm/arch-omap5/i2c.h
index 68be03be58..ec39a5318d 100644
--- a/arch/arm/include/asm/arch-omap5/i2c.h
+++ b/arch/arm/include/asm/arch-omap5/i2c.h
@@ -23,7 +23,7 @@
23#ifndef _OMAP5_I2C_H_ 23#ifndef _OMAP5_I2C_H_
24#define _OMAP5_I2C_H_ 24#define _OMAP5_I2C_H_
25 25
26#define I2C_BUS_MAX 3 26#define I2C_BUS_MAX 5
27#define I2C_DEFAULT_BASE I2C_BASE1 27#define I2C_DEFAULT_BASE I2C_BASE1
28 28
29struct i2c { 29struct i2c {