summaryrefslogtreecommitdiff
path: root/include/configs/km/km83xx-common.h
diff options
context:
space:
mode:
authorGerlando Falauto <gerlando.falauto@keymile.com>2012-10-10 22:13:09 +0000
committerKim Phillips <kim.phillips@freescale.com>2012-10-23 15:23:26 -0500
commit6967840b83d06c7d56fb6ba6322393a9c254c27b (patch)
tree48eba9030223e6232ce9ae5fa2165697bd4384cb /include/configs/km/km83xx-common.h
parenta88731a6c23113c713351847d019d23df46f26d7 (diff)
downloadu-boot-imx-6967840b83d06c7d56fb6ba6322393a9c254c27b.zip
u-boot-imx-6967840b83d06c7d56fb6ba6322393a9c254c27b.tar.gz
u-boot-imx-6967840b83d06c7d56fb6ba6322393a9c254c27b.tar.bz2
km83xx: add common support for km8309 boards
Add support for Keymile boards based on mpc8309 (it would be only kmvect1 for now) Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> [#elseif -> #if to allow kmcoge5ne and kmeter1 to build successfully] Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include/configs/km/km83xx-common.h')
-rw-r--r--include/configs/km/km83xx-common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/km/km83xx-common.h b/include/configs/km/km83xx-common.h
index 877d841..a9823d6 100644
--- a/include/configs/km/km83xx-common.h
+++ b/include/configs/km/km83xx-common.h
@@ -169,9 +169,15 @@
#define UEC_VERBOSE_DEBUG 1
#ifdef CONFIG_UEC_ETH1
+#if defined(CONFIG_MPC8309)
+#define CONFIG_SYS_UEC1_UCC_NUM 2 /* UCC3 */
+#define CONFIG_SYS_UEC1_RX_CLK QE_CLK_NONE /* not used in RMII Mode */
+#define CONFIG_SYS_UEC1_TX_CLK QE_CLK12
+#else
#define CONFIG_SYS_UEC1_UCC_NUM 3 /* UCC4 */
#define CONFIG_SYS_UEC1_RX_CLK QE_CLK_NONE /* not used in RMII Mode */
#define CONFIG_SYS_UEC1_TX_CLK QE_CLK17
+#endif
#define CONFIG_SYS_UEC1_ETH_TYPE FAST_ETH
#define CONFIG_SYS_UEC1_PHY_ADDR 0
#define CONFIG_SYS_UEC1_INTERFACE_TYPE PHY_INTERFACE_MODE_RMII