diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-21 14:07:02 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-15 21:54:36 +0000 |
commit | cf18acf0e04260ff8ffa46dc245d3d2324ed41b0 (patch) | |
tree | 904cd7c007c7da92ae34ecfe5cea049ee4b08e57 /arch/arm/mach-s3c6410 | |
parent | c652d2ddb97ccdc4774e149ef998928263fd8886 (diff) | |
download | kernel_samsung_espresso10-cf18acf0e04260ff8ffa46dc245d3d2324ed41b0.zip kernel_samsung_espresso10-cf18acf0e04260ff8ffa46dc245d3d2324ed41b0.tar.gz kernel_samsung_espresso10-cf18acf0e04260ff8ffa46dc245d3d2324ed41b0.tar.bz2 |
[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 eff8248..d8377f7 100644 --- a/arch/arm/mach-s3c6410/Kconfig +++ b/arch/arm/mach-s3c6410/Kconfig @@ -10,6 +10,7 @@ config CPU_S3C6410 bool select CPU_S3C6400_INIT + select CPU_S3C6400_CLOCK help Enable S3C6410 CPU support diff --git a/arch/arm/mach-s3c6410/cpu.c b/arch/arm/mach-s3c6410/cpu.c index 94a6204..846f464 100644 --- a/arch/arm/mach-s3c6410/cpu.c +++ b/arch/arm/mach-s3c6410/cpu.c @@ -35,6 +35,7 @@ #include <plat/cpu.h> #include <plat/devs.h> #include <plat/clock.h> +#include <plat/s3c6400.h> #include <plat/s3c6410.h> /* Initial IO mappings */ @@ -57,6 +58,8 @@ void __init s3c6410_init_clocks(int xtal) printk(KERN_INFO "%s: initialising clocks\n", __func__); s3c24xx_register_baseclocks(xtal); s3c64xx_register_clocks(); + s3c6400_register_clocks(); + s3c6400_setup_clocks(); } void __init s3c6410_init_irq(void) |