summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mx25/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-mx25/clock.h')
-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 */