summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2012-09-27 10:27:57 +0000
committerTom Rini <trini@ti.com>2012-10-15 11:54:13 -0700
commit9baefa465d213330368b5cefcda3d5926351faa4 (patch)
tree548ee5ca0088db12566a093abdca1563da235c6f /arch/arm/include
parent17c7cf71b44a4fe23a34de1f9d572623d2ed19f7 (diff)
downloadu-boot-imx-9baefa465d213330368b5cefcda3d5926351faa4.zip
u-boot-imx-9baefa465d213330368b5cefcda3d5926351faa4.tar.gz
u-boot-imx-9baefa465d213330368b5cefcda3d5926351faa4.tar.bz2
mx25: Clean up clocks API
Use the standard mxc_get_clock() instead of exporting internal functions and using literal constant values. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-mx25/clock.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/include/asm/arch-mx25/clock.h b/arch/arm/include/asm/arch-mx25/clock.h
index a532da5..efbe038 100644
--- a/arch/arm/include/asm/arch-mx25/clock.h
+++ b/arch/arm/include/asm/arch-mx25/clock.h
@@ -67,12 +67,9 @@ enum mxc_clock {
MXC_CLK_NUM
};
-ulong imx_get_perclk(int clk);
-ulong imx_get_ahbclk(void);
-
-#define imx_get_uartclk() imx_get_perclk(15)
-#define imx_get_fecclk() mxc_get_clock(MXC_FEC_CLK)
-
unsigned int mxc_get_clock(enum mxc_clock clk);
+#define imx_get_uartclk() mxc_get_clock(MXC_UART_CLK)
+#define imx_get_fecclk() mxc_get_clock(MXC_FEC_CLK)
+
#endif /* __ASM_ARCH_CLOCK_H */