summaryrefslogtreecommitdiff
path: root/include/configs/mx51_3stack.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-01-08 15:40:17 +0800
committerTerry Lv <r65388@freescale.com>2010-01-11 19:34:31 +0800
commitb238637c05324a1ff5d16add1ae4bcfb587887dc (patch)
treee24331b915c34a605dc15de719ab6d68ea170bbf /include/configs/mx51_3stack.h
parenta5510c49adac4e31c0bc13bad45ee073b3940dc5 (diff)
downloadu-boot-imx-b238637c05324a1ff5d16add1ae4bcfb587887dc.zip
u-boot-imx-b238637c05324a1ff5d16add1ae4bcfb587887dc.tar.gz
u-boot-imx-b238637c05324a1ff5d16add1ae4bcfb587887dc.tar.bz2
ENGR00119894: Read right value in mxc_i2c
The value read from mxc_i2c is not complete. The last byte is lost. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/configs/mx51_3stack.h')
-rw-r--r--include/configs/mx51_3stack.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/include/configs/mx51_3stack.h b/include/configs/mx51_3stack.h
index 3cecd58..fd7116c 100644
--- a/include/configs/mx51_3stack.h
+++ b/include/configs/mx51_3stack.h
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
*
- * (C) Copyright 2009 Freescale Semiconductor, Inc.
+ * (C) Copyright 2009-2010 Freescale Semiconductor, Inc.
*
* Configuration settings for the MX51-3Stack Freescale board.
*
@@ -93,8 +93,6 @@
#undef CONFIG_CMD_IMLS
#define CONFIG_CMD_MII
#define CONFIG_CMD_NET
-#define CONFIG_NET_RETRY_COUNT 100
-#define CONFIG_NET_MULTI
#define CONFIG_CMD_MMC
/*
@@ -118,6 +116,23 @@
#define CONFIG_SYS_I2C_SPEED 400000
#define CONFIG_SYS_I2C_SLAVE 0xfe
+/*
+ * Eth Configs
+ */
+#define CONFIG_HAS_ETH1
+#define CONFIG_ETHPRIME
+#define CONFIG_NET_RETRY_COUNT 100
+#define CONFIG_NET_MULTI
+#define CONFIG_MXC_FEC
+#define CONFIG_MII
+#define CONFIG_DISCOVER_PHY
+
+#define CONFIG_FEC0_IOBASE FEC_BASE_ADDR
+#define CONFIG_FEC0_PINMUX -1
+#define CONFIG_FEC0_PHY_ADDR 0x1F
+#define CONFIG_FEC0_MIIBASE -1
+
+
#define CONFIG_BOOTDELAY 3
#define CONFIG_LOADADDR 0x90800000 /* loadaddr env var */