summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Rigby <jcrigby@gmail.com>2010-01-25 23:12:57 -0700
committerTom Rix <Tom.Rix@windriver.com>2010-03-07 12:36:36 -0600
commit740d6ae5b982496fcea0666b2207cb34cc0e6015 (patch)
treebf4236cdc045593b1fb32679e45df497fa053410 /include
parentcb17b92de03416cf4d5db5bd27ef4ae17f95e707 (diff)
downloadu-boot-imx-740d6ae5b982496fcea0666b2207cb34cc0e6015.zip
u-boot-imx-740d6ae5b982496fcea0666b2207cb34cc0e6015.tar.gz
u-boot-imx-740d6ae5b982496fcea0666b2207cb34cc0e6015.tar.bz2
fec_mxc: add MX25 support
Use RMII for MX25 Add code to init gasket that enables RMII Signed-off-by: John Rigby <jcrigby@gmail.com> CC: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-mx25/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mx25/clock.h b/include/asm-arm/arch-mx25/clock.h
index b0752e7..c59f588 100644
--- a/include/asm-arm/arch-mx25/clock.h
+++ b/include/asm-arm/arch-mx25/clock.h
@@ -30,6 +30,7 @@ ulong imx_get_perclk(int clk);
ulong imx_get_ahbclk(void);
#define imx_get_uartclk() imx_get_perclk(15)
+#define imx_get_fecclk() (imx_get_ahbclk()/2)
#endif /* __ASM_ARCH_CLOCK_H */