diff options
Diffstat (limited to 'chip/mec1322/config_chip.h')
-rw-r--r-- | chip/mec1322/config_chip.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chip/mec1322/config_chip.h b/chip/mec1322/config_chip.h index 43f9974222..ecf2f5ade8 100644 --- a/chip/mec1322/config_chip.h +++ b/chip/mec1322/config_chip.h @@ -23,8 +23,14 @@ /* Maximum number of deferrable functions */ #define DEFERRABLE_MAX_COUNT 8 -/* Number of I2C ports */ -#define I2C_PORT_COUNT 4 +/* + * Number of I2C controllers. Controller 0 has 2 ports, so the chip has one + * additional port. + */ +#define CONFIG_I2C_MULTI_PORT_CONTROLLER + +#define I2C_CONTROLLER_COUNT 4 +#define I2C_PORT_COUNT 5 /****************************************************************************/ /* Memory mapping */ |