summaryrefslogtreecommitdiff
path: root/board/muas3001
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-09-10 11:15:28 +0200
committerWolfgang Denk <wd@denx.de>2008-09-10 11:20:27 +0200
commit0b7c5639891f4103a0e31ec7ae0beb3e97ed3836 (patch)
treeb8a737f6cb3c0dc225f6723a5052300af235e133 /board/muas3001
parent3591293509e0c0bcf244b0f974775bff2e25697e (diff)
downloadu-boot-imx-0b7c5639891f4103a0e31ec7ae0beb3e97ed3836.zip
u-boot-imx-0b7c5639891f4103a0e31ec7ae0beb3e97ed3836.tar.gz
u-boot-imx-0b7c5639891f4103a0e31ec7ae0beb3e97ed3836.tar.bz2
muas3001: update BR4 settings
Also set up the port pins for using I2C. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/muas3001')
-rw-r--r--board/muas3001/muas3001.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/board/muas3001/muas3001.c b/board/muas3001/muas3001.c
index 0ec451f..157c72d 100644
--- a/board/muas3001/muas3001.c
+++ b/board/muas3001/muas3001.c
@@ -163,8 +163,13 @@ const iop_conf_t iop_conf_tab[4][32] = {
/* PD18 */ { 0, 0, 0, 0, 0, 0 }, /* PD18 */
/* PD17 */ { 0, 0, 0, 0, 0, 0 }, /* PD17 */
/* PD16 */ { 0, 0, 0, 0, 0, 0 }, /* PD16 */
- /* PD15 */ { 1, 1, 1, 0, 0, 0 }, /* I2C SDA */
- /* PD14 */ { 1, 1, 1, 0, 0, 0 }, /* I2C SCL */
+#if defined(CONFIG_HARD_I2C)
+ /* PD15 */ { 1, 1, 1, 0, 1, 0 }, /* I2C SDA */
+ /* PD14 */ { 1, 1, 1, 0, 1, 0 }, /* I2C SCL */
+#else
+ /* PD15 */ { 1, 0, 0, 0, 1, 1 }, /* PD15 */
+ /* PD14 */ { 1, 0, 0, 1, 1, 1 }, /* PD14 */
+#endif
/* PD13 */ { 0, 0, 0, 0, 0, 0 }, /* PD13 */
/* PD12 */ { 0, 0, 0, 0, 0, 0 }, /* PD12 */
/* PD11 */ { 0, 0, 0, 0, 0, 0 }, /* PD11 */