diff options
author | John Rigby | 2010-01-25 23:12:57 -0700 |
---|---|---|
committer | Tom Rix | 2010-03-07 12:36:36 -0600 |
commit | 740d6ae5b982496fcea0666b2207cb34cc0e6015 (patch) | |
tree | bf4236cdc045593b1fb32679e45df497fa053410 /include | |
parent | cb17b92de03416cf4d5db5bd27ef4ae17f95e707 (diff) |
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.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 b0752e77469..c59f5885700 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 */ |