imx-common: Factor out get_ahb_clk()
authorFabio Estevam <festevam@gmail.com>
Sun, 29 Apr 2012 08:11:13 +0000 (08:11 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:32 +0000 (08:31 +0200)
commit6a376046ef3b2417cf9fbfbfad300fa6f026c816
tree8ac91f23143504bddd1390c107e5d1ecf43769e6
parent28fdbddc943173d5f199fe2de9bc74bc6172940e
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>
arch/arm/cpu/armv7/imx-common/cpu.c
arch/arm/cpu/armv7/mx5/clock.c
arch/arm/cpu/armv7/mx6/clock.c
arch/arm/include/asm/arch-mx5/sys_proto.h
arch/arm/include/asm/arch-mx6/ccm_regs.h [deleted file]
arch/arm/include/asm/arch-mx6/crm_regs.h [new file with mode: 0644]
arch/arm/include/asm/arch-mx6/sys_proto.h