diff options
-rw-r--r-- | include/configs/mx6slevk.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 1e6f863..48a3d84 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -31,6 +31,7 @@ #define CONFIG_SYS_MALLOC_LEN (3 * SZ_1M) #define CONFIG_BOARD_EARLY_INIT_F +#define CONFIG_BOARD_LATE_INIT #define CONFIG_MXC_GPIO #define CONFIG_MXC_UART @@ -66,6 +67,14 @@ #define CONFIG_CONS_INDEX 1 #define CONFIG_BAUDRATE 115200 +/* I2C configs */ +#define CONFIG_CMD_I2C +#define CONFIG_HARD_I2C 1 +#define CONFIG_I2C_MXC 1 +#define CONFIG_SYS_I2C_BASE I2C1_BASE_ADDR +#define CONFIG_SYS_I2C_SPEED 100000 +#define CONFIG_SYS_I2C_SLAVE 0x8 + /* Command definition */ #include <config_cmd_default.h> |