Message ID | 1328318041-10943-10-git-send-email-sjg@chromium.org |
---|---|
State | Not Applicable, archived |
Headers | show |
Hello Simon, Simon Glass wrote: > This enables I2C on Seaboard. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > Changes in v3: > - Use CONFIG_TEGRA_I2C instead of CONFIG_TEGRA2_I2C > > include/configs/seaboard.h | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) Acked-by: Heiko Schocher <hs@denx.de> bye, Heiko
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 6937bcc..ea7e4f0 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -64,6 +64,14 @@ #define CONFIG_CMD_SF #define CONFIG_SPI_FLASH_SIZE (4 << 20) +/* I2C */ +#define CONFIG_TEGRA_I2C +#define CONFIG_SYS_I2C_INIT_BOARD +#define CONFIG_I2C_MULTI_BUS +#define CONFIG_SYS_MAX_I2C_BUS 4 +#define CONFIG_SYS_I2C_SPEED 100000 +#define CONFIG_CMD_I2C + /* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC
This enables I2C on Seaboard. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v3: - Use CONFIG_TEGRA_I2C instead of CONFIG_TEGRA2_I2C include/configs/seaboard.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)