mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
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>
This commit is contained in:
parent
aebe7ff2b2
commit
2335b653d1
@ -23,7 +23,7 @@
|
|||||||
#ifndef _OMAP5_I2C_H_
|
#ifndef _OMAP5_I2C_H_
|
||||||
#define _OMAP5_I2C_H_
|
#define _OMAP5_I2C_H_
|
||||||
|
|
||||||
#define I2C_BUS_MAX 3
|
#define I2C_BUS_MAX 5
|
||||||
#define I2C_DEFAULT_BASE I2C_BASE1
|
#define I2C_DEFAULT_BASE I2C_BASE1
|
||||||
|
|
||||||
struct i2c {
|
struct i2c {
|
||||||
|
Loading…
Reference in New Issue
Block a user