diff options
author | Rajeshwari Shinde <rajeshwari.s@samsung.com> | 2012-07-23 21:23:55 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-07-31 08:03:19 +0200 |
commit | c82b050ead18081a594a66c913124b4e5e6c004c (patch) | |
tree | e3db75bd9263b7bd2a796ac680235a2ecb009474 /include/configs/smdk5250.h | |
parent | 178239de194a0e84d07b8e48fb74cb156f654d75 (diff) | |
download | u-boot-c82b050ead18081a594a66c913124b4e5e6c004c.tar.gz |
CONFIG: SMDK5250: I2C: Enable I2C
This enables I2C support on smdk5250.
Pinmux setting moved to board file to avoid repeated setting of
gpio lines.
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/smdk5250.h')
-rw-r--r-- | include/configs/smdk5250.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h index d47881bcb2..eb1466c52b 100644 --- a/include/configs/smdk5250.h +++ b/include/configs/smdk5250.h @@ -193,6 +193,16 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000) +/* I2C */ +#define CONFIG_SYS_I2C_INIT_BOARD +#define CONFIG_HARD_I2C +#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C_SPEED 100000 /* 100 Kbps */ +#define CONFIG_DRIVER_S3C24X0_I2C +#define CONFIG_I2C_MULTI_BUS +#define CONFIG_MAX_I2C_NUM 8 +#define CONFIG_SYS_I2C_SLAVE 0x0 + /* Ethernet Controllor Driver */ #ifdef CONFIG_CMD_NET #define CONFIG_SMC911X |