diff options
| author | Ben Dooks <ben-linux@org.rmk.(none)> | 2005-01-14 19:42:46 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2005-01-14 19:42:46 +0000 |
| commit | 8d8f47da64ec762ec3717cb0b85d2876aad9399d (patch) | |
| tree | e94598488698e9c855911752a16da3223229b236 /include | |
| parent | 192f1e0f2119a4c6fe1509f673161b5e8942a4f2 (diff) | |
[ARM PATCH] 2403/1: S3C2410 - clock initialsation tidy
Patch from Ben Dooks
Update to the s3c2410/s3c2440 clock code to use
the naming conventions now used throughout the
arch/arm/mach-s3c2410/ directory, as well as
a re-organisation of the initialisation of the
clocks.
The previous method was to initialise the clocks
as part of the function that initialised the
statically mapped IO regions, which was called
from the machine initialisation. This proves
a problem if the machine initialisation needs
to use these IO areas to determine the frequency
of PLL crystal fitted.
This patch makes the following changes:
- s3c2410_init_clocks renamed s3c24xx_setup_clocks
- s3c2410_clkcon_enable renamed s3c24xx_clk_enable
- s3c2410_register_clock renamed s3c24xx_register_clock
- cpu specific init_clocks to be called from cpu.c
- add s3c24xx_init_clocks for machine init to call
- split the cpu specific clock code from xxx_map_io
- update all machine initialisation methods
and the following changes as cleanup which should
have been caught by previous patches:
- remove s3c2440_hdiv (unused)
- remove s3c2440_clock_tick_rate (unused)
This patch has been generated from a request by
Dimitry Andric.
Signed-off-by: Ben Dooks
Signed-off-by: Russell King
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
