ARM: S3C24XX: Move mach-s3c2440/ pll into mach-s3c24xx/
This patch moves mach-s3c2440/pll into mach-s3c24xx/ and removes arch/arm/mach-s3c2440/ directory in kernel. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
Родитель
5aa93c0ab8
Коммит
acf2d41d85
|
@ -1094,9 +1094,6 @@ source "arch/arm/mach-socfpga/Kconfig"
|
||||||
source "arch/arm/plat-spear/Kconfig"
|
source "arch/arm/plat-spear/Kconfig"
|
||||||
|
|
||||||
source "arch/arm/mach-s3c24xx/Kconfig"
|
source "arch/arm/mach-s3c24xx/Kconfig"
|
||||||
if ARCH_S3C24XX
|
|
||||||
source "arch/arm/mach-s3c2440/Kconfig"
|
|
||||||
endif
|
|
||||||
|
|
||||||
if ARCH_S3C64XX
|
if ARCH_S3C64XX
|
||||||
source "arch/arm/mach-s3c64xx/Kconfig"
|
source "arch/arm/mach-s3c64xx/Kconfig"
|
||||||
|
|
|
@ -173,7 +173,7 @@ machine-$(CONFIG_ARCH_PRIMA2) += prima2
|
||||||
machine-$(CONFIG_ARCH_PXA) += pxa
|
machine-$(CONFIG_ARCH_PXA) += pxa
|
||||||
machine-$(CONFIG_ARCH_REALVIEW) += realview
|
machine-$(CONFIG_ARCH_REALVIEW) += realview
|
||||||
machine-$(CONFIG_ARCH_RPC) += rpc
|
machine-$(CONFIG_ARCH_RPC) += rpc
|
||||||
machine-$(CONFIG_ARCH_S3C24XX) += s3c24xx s3c2440
|
machine-$(CONFIG_ARCH_S3C24XX) += s3c24xx
|
||||||
machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx
|
machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx
|
||||||
machine-$(CONFIG_ARCH_S5P64X0) += s5p64x0
|
machine-$(CONFIG_ARCH_S5P64X0) += s5p64x0
|
||||||
machine-$(CONFIG_ARCH_S5PC100) += s5pc100
|
machine-$(CONFIG_ARCH_S5PC100) += s5pc100
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
# Copyright 2007 Simtec Electronics
|
|
||||||
#
|
|
||||||
# Licensed under GPLv2
|
|
||||||
|
|
||||||
config S3C2440_XTAL_12000000
|
|
||||||
bool
|
|
||||||
help
|
|
||||||
Indicate that the build needs to support 12MHz system
|
|
||||||
crystal.
|
|
||||||
|
|
||||||
config S3C2440_XTAL_16934400
|
|
||||||
bool
|
|
||||||
help
|
|
||||||
Indicate that the build needs to support 16.9344MHz system
|
|
||||||
crystal.
|
|
||||||
|
|
||||||
config S3C2440_PLL_12000000
|
|
||||||
bool
|
|
||||||
depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
|
|
||||||
default y if CPU_FREQ_S3C24XX_PLL
|
|
||||||
help
|
|
||||||
PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
|
|
||||||
|
|
||||||
config S3C2440_PLL_16934400
|
|
||||||
bool
|
|
||||||
depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
|
|
||||||
default y if CPU_FREQ_S3C24XX_PLL
|
|
||||||
help
|
|
||||||
PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
|
|
|
@ -1,13 +0,0 @@
|
||||||
# arch/arm/mach-s3c2440/Makefile
|
|
||||||
#
|
|
||||||
# Copyright 2007 Simtec Electronics
|
|
||||||
#
|
|
||||||
# Licensed under GPLv2
|
|
||||||
|
|
||||||
obj-y :=
|
|
||||||
obj-m :=
|
|
||||||
obj-n :=
|
|
||||||
obj- :=
|
|
||||||
|
|
||||||
obj-$(CONFIG_S3C2440_PLL_12000000) += s3c2440-pll-12000000.o
|
|
||||||
obj-$(CONFIG_S3C2440_PLL_16934400) += s3c2440-pll-16934400.o
|
|
|
@ -400,6 +400,32 @@ config S3C2440_DMA
|
||||||
help
|
help
|
||||||
Support for S3C2440 specific DMA code5A
|
Support for S3C2440 specific DMA code5A
|
||||||
|
|
||||||
|
config S3C2440_XTAL_12000000
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
Indicate that the build needs to support 12MHz system
|
||||||
|
crystal.
|
||||||
|
|
||||||
|
config S3C2440_XTAL_16934400
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
Indicate that the build needs to support 16.9344MHz system
|
||||||
|
crystal.
|
||||||
|
|
||||||
|
config S3C2440_PLL_12000000
|
||||||
|
bool
|
||||||
|
depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
|
||||||
|
default y if CPU_FREQ_S3C24XX_PLL
|
||||||
|
help
|
||||||
|
PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
|
||||||
|
|
||||||
|
config S3C2440_PLL_16934400
|
||||||
|
bool
|
||||||
|
depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
|
||||||
|
default y if CPU_FREQ_S3C24XX_PLL
|
||||||
|
help
|
||||||
|
PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
|
||||||
|
|
||||||
comment "S3C2440 Boards"
|
comment "S3C2440 Boards"
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -36,6 +36,8 @@ obj-$(CONFIG_CPU_S3C2442) += s3c2442.o
|
||||||
obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o
|
obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o
|
||||||
obj-$(CONFIG_S3C2440_CPUFREQ) += cpufreq-s3c2440.o
|
obj-$(CONFIG_S3C2440_CPUFREQ) += cpufreq-s3c2440.o
|
||||||
obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o
|
obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o
|
||||||
|
obj-$(CONFIG_S3C2440_PLL_12000000) += pll-s3c2440-12000000.o
|
||||||
|
obj-$(CONFIG_S3C2440_PLL_16934400) += pll-s3c2440-16934400.o
|
||||||
|
|
||||||
obj-$(CONFIG_CPU_S3C2443) += s3c2443.o irq-s3c2443.o clock-s3c2443.o
|
obj-$(CONFIG_CPU_S3C2443) += s3c2443.o irq-s3c2443.o clock-s3c2443.o
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* arch/arm/mach-s3c2440/s3c2440-pll-12000000.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>
|
||||||
|
@ -83,7 +82,6 @@ static int __init s3c2440_pll_12mhz(void)
|
||||||
return subsys_interface_register(&s3c2440_plls12_interface);
|
return subsys_interface_register(&s3c2440_plls12_interface);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
arch_initcall(s3c2440_pll_12mhz);
|
arch_initcall(s3c2440_pll_12mhz);
|
||||||
|
|
||||||
static struct subsys_interface s3c2442_plls12_interface = {
|
static struct subsys_interface s3c2442_plls12_interface = {
|
||||||
|
@ -97,5 +95,4 @@ static int __init s3c2442_pll_12mhz(void)
|
||||||
return subsys_interface_register(&s3c2442_plls12_interface);
|
return subsys_interface_register(&s3c2442_plls12_interface);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
arch_initcall(s3c2442_pll_12mhz);
|
arch_initcall(s3c2442_pll_12mhz);
|
|
@ -1,5 +1,4 @@
|
||||||
/* arch/arm/mach-s3c2440/s3c2440-pll-16934400.c
|
/*
|
||||||
*
|
|
||||||
* Copyright (c) 2006-2008 Simtec Electronics
|
* Copyright (c) 2006-2008 Simtec Electronics
|
||||||
* http://armlinux.simtec.co.uk/
|
* http://armlinux.simtec.co.uk/
|
||||||
* Ben Dooks <ben@simtec.co.uk>
|
* Ben Dooks <ben@simtec.co.uk>
|
||||||
|
@ -111,7 +110,6 @@ static int __init s3c2440_pll_16934400(void)
|
||||||
{
|
{
|
||||||
return subsys_interface_register(&s3c2440_plls169344_interface);
|
return subsys_interface_register(&s3c2440_plls169344_interface);
|
||||||
}
|
}
|
||||||
|
|
||||||
arch_initcall(s3c2440_pll_16934400);
|
arch_initcall(s3c2440_pll_16934400);
|
||||||
|
|
||||||
static struct subsys_interface s3c2442_plls169344_interface = {
|
static struct subsys_interface s3c2442_plls169344_interface = {
|
||||||
|
@ -124,5 +122,4 @@ static int __init s3c2442_pll_16934400(void)
|
||||||
{
|
{
|
||||||
return subsys_interface_register(&s3c2442_plls169344_interface);
|
return subsys_interface_register(&s3c2442_plls169344_interface);
|
||||||
}
|
}
|
||||||
|
|
||||||
arch_initcall(s3c2442_pll_16934400);
|
arch_initcall(s3c2442_pll_16934400);
|
Загрузка…
Ссылка в новой задаче