diff options
author | John Rigby <jcrigby@gmail.com> | 2010-01-25 23:12:57 -0700 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2010-03-07 12:36:36 -0600 |
commit | 740d6ae5b982496fcea0666b2207cb34cc0e6015 (patch) | |
tree | bf4236cdc045593b1fb32679e45df497fa053410 /include/asm-arm | |
parent | cb17b92de03416cf4d5db5bd27ef4ae17f95e707 (diff) | |
download | u-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/asm-arm')
-rw-r--r-- | include/asm-arm/arch-mx25/clock.h | 1 |
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 */ |