[U-Boot] [PATCH 7/7] tegra: Enable I2C on Seaboard

Simon Glass sjg at chromium.org
Mon Dec 26 19:11:51 CET 2011


This enables I2C on Seaboard.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
 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 1dc775a..6e04278 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -59,6 +59,14 @@
 #define CONFIG_CMD_SF
 #define CONFIG_SPI_FLASH_SIZE		(4 << 20)
 
+/* I2C */
+#define CONFIG_TEGRA2_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.3.1



More information about the U-Boot mailing list