summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mx27/clock.h
diff options
context:
space:
mode:
authorJohn Rigby <jcrigby@gmail.com>2010-01-25 23:12:51 -0700
committerTom Rix <Tom.Rix@windriver.com>2010-03-07 12:36:36 -0600
commite911c983f4a8d588f831806af37eb56c95512d5d (patch)
tree80145728cda86ca8d4a43ad7c90d8cabbeb17b6f /include/asm-arm/arch-mx27/clock.h
parentc5fb70c9114bd0a8289444d3d5c7e360eda08232 (diff)
downloadu-boot-imx-e911c983f4a8d588f831806af37eb56c95512d5d.zip
u-boot-imx-e911c983f4a8d588f831806af37eb56c95512d5d.tar.gz
u-boot-imx-e911c983f4a8d588f831806af37eb56c95512d5d.tar.bz2
mxc_serial replace platform specific clock
remove ifdef'd clock selection code from serial_mxc.c and replace with call to imx_get_uartclk Add definitions for imx_get_uartclk to imx31 and imx27 include files. This makes it easier to add new imx platforms. Signed-off-by: John Rigby <jcrigby@gmail.com>
Diffstat (limited to 'include/asm-arm/arch-mx27/clock.h')
-rw-r--r--include/asm-arm/arch-mx27/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mx27/clock.h b/include/asm-arm/arch-mx27/clock.h
index 5fc75c5..472e8f2 100644
--- a/include/asm-arm/arch-mx27/clock.h
+++ b/include/asm-arm/arch-mx27/clock.h
@@ -36,4 +36,6 @@ ulong imx_get_perclk2(void);
ulong imx_get_perclk3(void);
ulong imx_get_ahbclk(void);
+#define imx_get_uartclk imx_get_perclk1
+
#endif /* __ASM_ARCH_CLOCK_H */