summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx5
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2012-04-29 08:11:13 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:32 +0200
commit6a376046ef3b2417cf9fbfbfad300fa6f026c816 (patch)
tree8ac91f23143504bddd1390c107e5d1ecf43769e6 /arch/arm/include/asm/arch-mx5
parent28fdbddc943173d5f199fe2de9bc74bc6172940e (diff)
downloadu-boot-imx-6a376046ef3b2417cf9fbfbfad300fa6f026c816.zip
u-boot-imx-6a376046ef3b2417cf9fbfbfad300fa6f026c816.tar.gz
u-boot-imx-6a376046ef3b2417cf9fbfbfad300fa6f026c816.tar.bz2
imx-common: Factor out get_ahb_clk()
get_ahb_clk() is a common function between mx5 and mx6. Place it into imx-common directory. Cc: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx5')
-rw-r--r--arch/arm/include/asm/arch-mx5/sys_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx5/sys_proto.h b/arch/arm/include/asm/arch-mx5/sys_proto.h
index 13d12ee..3f10d29 100644
--- a/arch/arm/include/asm/arch-mx5/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx5/sys_proto.h
@@ -35,5 +35,7 @@ void set_chipselect_size(int const);
*/
int fecmxc_initialize(bd_t *bis);
+u32 get_ahb_clk(void);
+u32 get_periph_clk(void);
#endif