Commit 82c18712 authored by Kukjin Kim's avatar Kukjin Kim

ARM: S3C24XX: Move mach-s3c2410/ pll into mach-s3c24xx/

This patch moves mach-s3c2410/pll into mach-s3c24xx/
and removes arch/arm/mach-s3c2410/ directory in kernel.
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 98713e40
# Copyright 2007 Simtec Electronics
#
# Licensed under GPLv2
# cpu frequency scaling support
config S3C2410_PLLTABLE
bool
depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL
default y
help
Select the PLL table for the S3C2410
# arch/arm/mach-s3c2410/Makefile
#
# Copyright 2007 Simtec Electronics
#
# Licensed under GPLv2
obj-y :=
obj-m :=
obj-n :=
obj- :=
obj-$(CONFIG_S3C2410_PLLTABLE) += pll.o
...@@ -134,6 +134,13 @@ config S3C2410_CPUFREQ ...@@ -134,6 +134,13 @@ config S3C2410_CPUFREQ
help help
CPU Frequency scaling support for S3C2410 CPU Frequency scaling support for S3C2410
config S3C2410_PLL
bool
depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL
default y
help
Select the PLL table for the S3C2410
config S3C24XX_SIMTEC_NOR config S3C24XX_SIMTEC_NOR
bool bool
help help
......
...@@ -19,6 +19,7 @@ obj-y += common.o ...@@ -19,6 +19,7 @@ obj-y += common.o
obj-$(CONFIG_CPU_S3C2410) += s3c2410.o obj-$(CONFIG_CPU_S3C2410) += s3c2410.o
obj-$(CONFIG_S3C2410_CPUFREQ) += cpufreq-s3c2410.o obj-$(CONFIG_S3C2410_CPUFREQ) += cpufreq-s3c2410.o
obj-$(CONFIG_S3C2410_DMA) += dma-s3c2410.o obj-$(CONFIG_S3C2410_DMA) += dma-s3c2410.o
obj-$(CONFIG_S3C2410_PLL) += pll-s3c2410.o
obj-$(CONFIG_S3C2410_PM) += pm-s3c2410.o sleep-s3c2410.o obj-$(CONFIG_S3C2410_PM) += pm-s3c2410.o sleep-s3c2410.o
obj-$(CONFIG_CPU_S3C2412) += s3c2412.o irq-s3c2412.o clock-s3c2412.o obj-$(CONFIG_CPU_S3C2412) += s3c2412.o irq-s3c2412.o clock-s3c2412.o
......
/* arch/arm/mach-s3c2410/pll.c /*
*
* Copyright (c) 2006-2007 Simtec Electronics * Copyright (c) 2006-2007 Simtec Electronics
* http://armlinux.simtec.co.uk/ * http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
...@@ -82,7 +81,6 @@ static int __init s3c2410_pll_init(void) ...@@ -82,7 +81,6 @@ static int __init s3c2410_pll_init(void)
return subsys_interface_register(&s3c2410_plls_interface); return subsys_interface_register(&s3c2410_plls_interface);
} }
arch_initcall(s3c2410_pll_init); arch_initcall(s3c2410_pll_init);
static struct subsys_interface s3c2410a_plls_interface = { static struct subsys_interface s3c2410a_plls_interface = {
...@@ -95,5 +93,4 @@ static int __init s3c2410a_pll_init(void) ...@@ -95,5 +93,4 @@ static int __init s3c2410a_pll_init(void)
{ {
return subsys_interface_register(&s3c2410a_plls_interface); return subsys_interface_register(&s3c2410a_plls_interface);
} }
arch_initcall(s3c2410a_pll_init); arch_initcall(s3c2410a_pll_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment