Skip to content

Commit

Permalink
i.MX2 family: Add clock handling for i.MX27 CPU
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Juergen Beisert authored and Robert Schwebel committed Jul 5, 2008
1 parent f31405c commit c46f585
Show file tree
Hide file tree
Showing 2 changed files with 1,627 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-mx2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
obj-y := system.o generic.o devices.o serial.o

obj-$(CONFIG_MACH_MX27) += cpu_imx27.o
obj-$(CONFIG_MACH_MX27) += clock_imx27.o
Loading

0 comments on commit c46f585

Please sign in to comment.