diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-21 09:07:02 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-15 16:54:36 -0500 |
commit | cf18acf0e04260ff8ffa46dc245d3d2324ed41b0 (patch) | |
tree | 904cd7c007c7da92ae34ecfe5cea049ee4b08e57 /arch/arm/mach-s3c6410 | |
parent | c652d2ddb97ccdc4774e149ef998928263fd8886 (diff) |
[ARM] S3C64XX: Clock support for S3C6400/S3C6410
Add the PLL clock initialisation and clock registration
and include the clocks sourced via CLKDIVx for most of
the on-chip peripherals.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c6410')
-rw-r--r-- | arch/arm/mach-s3c6410/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c6410/cpu.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6410/Kconfig b/arch/arm/mach-s3c6410/Kconfig index eff8248439a4..d8377f737c40 100644 --- a/arch/arm/mach-s3c6410/Kconfig +++ b/arch/arm/mach-s3c6410/Kconfig | |||
@@ -10,6 +10,7 @@ | |||
10 | config CPU_S3C6410 | 10 | config CPU_S3C6410 |
11 | bool | 11 | bool |
12 | select CPU_S3C6400_INIT | 12 | select CPU_S3C6400_INIT |
13 | select CPU_S3C6400_CLOCK | ||
13 | help | 14 | help |
14 | Enable S3C6410 CPU support | 15 | Enable S3C6410 CPU support |
15 | 16 | ||
diff --git a/arch/arm/mach-s3c6410/cpu.c b/arch/arm/mach-s3c6410/cpu.c index 94a6204ee55a..846f464c7673 100644 --- a/arch/arm/mach-s3c6410/cpu.c +++ b/arch/arm/mach-s3c6410/cpu.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <plat/cpu.h> | 35 | #include <plat/cpu.h> |
36 | #include <plat/devs.h> | 36 | #include <plat/devs.h> |
37 | #include <plat/clock.h> | 37 | #include <plat/clock.h> |
38 | #include <plat/s3c6400.h> | ||
38 | #include <plat/s3c6410.h> | 39 | #include <plat/s3c6410.h> |
39 | 40 | ||
40 | /* Initial IO mappings */ | 41 | /* Initial IO mappings */ |
@@ -57,6 +58,8 @@ void __init s3c6410_init_clocks(int xtal) | |||
57 | printk(KERN_INFO "%s: initialising clocks\n", __func__); | 58 | printk(KERN_INFO "%s: initialising clocks\n", __func__); |
58 | s3c24xx_register_baseclocks(xtal); | 59 | s3c24xx_register_baseclocks(xtal); |
59 | s3c64xx_register_clocks(); | 60 | s3c64xx_register_clocks(); |
61 | s3c6400_register_clocks(); | ||
62 | s3c6400_setup_clocks(); | ||
60 | } | 63 | } |
61 | 64 | ||
62 | void __init s3c6410_init_irq(void) | 65 | void __init s3c6410_init_irq(void) |