i.mx: introduce the armv7/imx-common folder
authorJason Liu <jason.hui@linaro.org>
Fri, 25 Nov 2011 00:18:01 +0000 (00:18 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 9 Dec 2011 16:30:10 +0000 (17:30 +0100)
commit18936ee2ad8bf92f8219026b6b93fdcf58baeb61
tree1b9eabdd084618a739ba3cc129bed04699fcd809
parent393cb36199d337c8554cc8dfc853f5f405f4742b
i.mx: introduce the armv7/imx-common folder

In order to support the coming MX6 platform and to reducde
the duplicated code, we had better move some common files
or functions to the imx-common folder for sharing.

This patch does the following:
- move speed.c file from armv7/mx5/speed.c to armv7/imx-common/speed.c
- move armv7/mx5/timer.c to armv7/imx-common/timer.c, no any new feature
  added but just fix the checkpatch errors in the old file and remove
  the CONFIG_SYS_MX5_CLK32 reference in the file
- create one new file cpu.c file to store the common function with i.mx5/6

Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc:Stefano Babic <sbabic@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
Makefile
arch/arm/cpu/armv7/imx-common/Makefile [new file with mode: 0644]
arch/arm/cpu/armv7/imx-common/cpu.c [new file with mode: 0644]
arch/arm/cpu/armv7/imx-common/speed.c [moved from arch/arm/cpu/armv7/mx5/speed.c with 100% similarity]
arch/arm/cpu/armv7/imx-common/timer.c [moved from arch/arm/cpu/armv7/mx5/timer.c with 84% similarity, mode: 0755]
arch/arm/cpu/armv7/mx5/Makefile
arch/arm/cpu/armv7/mx5/soc.c