summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Rigby <jcrigby@gmail.com>2010-01-25 23:12:55 -0700
committerTom Rix <Tom.Rix@windriver.com>2010-03-07 12:36:36 -0600
commitcb17b92de03416cf4d5db5bd27ef4ae17f95e707 (patch)
tree8227d1d7b65c3d90c9d6650aecf52184ad73a6b1 /include
parent552ff8f1d9fccf57243a01afe6dbebb982867e20 (diff)
downloadu-boot-imx-cb17b92de03416cf4d5db5bd27ef4ae17f95e707.zip
u-boot-imx-cb17b92de03416cf4d5db5bd27ef4ae17f95e707.tar.gz
u-boot-imx-cb17b92de03416cf4d5db5bd27ef4ae17f95e707.tar.bz2
fec_mxc: cleanup and factor out MX27 dependencies
general cleanup move clock init to cpu_eth_init in cpu/arm926ejs/mx27/generic.c make MX27 specific phy init conditional on CONFIG_MX27 replace call to imx_get_ahbclk with one to imx_get_fecclk and define imx_get_fecclk in include/asm-arm/arch-mx27/clock.h Signed-off-by: John Rigby <jcrigby@gmail.com> CC: Ben Warren <biggerbadderben@gmail.com> CC: Fred Fan <fanyefeng@gmail.com> CC: Tom <Tom.Rix@windriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-mx27/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mx27/clock.h b/include/asm-arm/arch-mx27/clock.h
index 472e8f2..7e9c7aa 100644
--- a/include/asm-arm/arch-mx27/clock.h
+++ b/include/asm-arm/arch-mx27/clock.h
@@ -37,5 +37,6 @@ ulong imx_get_perclk3(void);
ulong imx_get_ahbclk(void);
#define imx_get_uartclk imx_get_perclk1
+#define imx_get_fecclk imx_get_ahbclk
#endif /* __ASM_ARCH_CLOCK_H */