[U-Boot] [PATCH v3 9/9] tegra: i2c: Enable I2C on Seaboard

Simon Glass sjg at chromium.org
Sat Feb 4 02:14:00 CET 2012


This enables I2C on Seaboard.

Signed-off-by: Simon Glass <sjg at 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(-)

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
-- 
1.7.7.3



More information about the U-Boot mailing list