i.MX2 family: Add clock handling for i.MX27 CPU

Internal clock path handling for the i.MX27 CPU.

Changed against the original Freescale code (and against clocklib for example):
 - clock rate is always calculated whenever one ask for the current rate.
   (means no "rate" member in the clock structure).
   So switching the PLL base frequency will propagate immediately to all
   other clocks that are depending on this frequency.

TODO:
 - Check if the i.MX21 CPU can share the same code.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
This commit is contained in:
Juergen Beisert 2008-07-05 10:02:59 +02:00 коммит произвёл Robert Schwebel
Родитель f31405cc4c
Коммит c46f585651
2 изменённых файлов: 1627 добавлений и 0 удалений

Просмотреть файл

@ -7,3 +7,4 @@
obj-y := system.o generic.o devices.o serial.o obj-y := system.o generic.o devices.o serial.o
obj-$(CONFIG_MACH_MX27) += cpu_imx27.o obj-$(CONFIG_MACH_MX27) += cpu_imx27.o
obj-$(CONFIG_MACH_MX27) += clock_imx27.o

Разница между файлами не показана из-за своего большого размера Загрузить разницу