Commit e96b234b authored by Kukjin Kim's avatar Kukjin Kim Committed by Ben Dooks

ARM: S5P6440: Move CPU specific code in plat-s5p to machine directory

The s5p6440-clock.c and s5p6440-init.c code in the plat-s5p is specific to
s5p6440 SoC based systems. So these files are being moved to the machine
directory of s5p6440. And these files are renamed in the machine directory.
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 159a3ddd
...@@ -9,8 +9,6 @@ if ARCH_S5P6440 ...@@ -9,8 +9,6 @@ if ARCH_S5P6440
config CPU_S5P6440 config CPU_S5P6440
bool bool
select CPU_S5P6440_INIT
select CPU_S5P6440_CLOCK
help help
Enable S5P6440 CPU support Enable S5P6440 CPU support
......
...@@ -12,7 +12,7 @@ obj- := ...@@ -12,7 +12,7 @@ obj- :=
# Core support for S5P6440 system # Core support for S5P6440 system
obj-$(CONFIG_CPU_S5P6440) += cpu.o s5p6440-gpio.o obj-$(CONFIG_CPU_S5P6440) += cpu.o init.o clock.o gpio.o
# machine support # machine support
......
/* linux/arch/arm/plat-s5p/s5p6440-clock.c /* linux/arch/arm/mach-s5p6440/clock.c
* *
* Copyright (c) 2009 Samsung Electronics Co., Ltd. * Copyright (c) 2009 Samsung Electronics Co., Ltd.
* http://www.samsung.com/ * http://www.samsung.com/
......
/* arch/arm/mach-s5p6440/s5p6440-gpio.c /* arch/arm/mach-s5p6440/gpio.c
* *
* Copyright (c) 2009 Samsung Electronics Co., Ltd. * Copyright (c) 2009 Samsung Electronics Co., Ltd.
* http://www.samsung.com/ * http://www.samsung.com/
......
/* linux/arch/arm/plat-s5p/s5p6440-init.c /* linux/arch/arm/mach-s5p6440/init.c
* *
* Copyright (c) 2009 Samsung Electronics Co., Ltd. * Copyright (c) 2009 Samsung Electronics Co., Ltd.
* http://www.samsung.com/ * http://www.samsung.com/
* *
* S5P6440 - Init support
*
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
......
...@@ -24,19 +24,3 @@ config PLAT_S5P ...@@ -24,19 +24,3 @@ config PLAT_S5P
select SAMSUNG_IRQ_UART select SAMSUNG_IRQ_UART
help help
Base platform code for Samsung's S5P series SoC. Base platform code for Samsung's S5P series SoC.
if (PLAT_S5P && ARCH_S5P6440)
# Configuration options shared by all S5P64XX implementations
config CPU_S5P6440_INIT
bool
help
Initialisation code for the S5P6440.
config CPU_S5P6440_CLOCK
bool
help
Clock support code for the S5P6440.
endif
...@@ -17,8 +17,3 @@ obj-y += cpu.o ...@@ -17,8 +17,3 @@ obj-y += cpu.o
obj-y += clock.o obj-y += clock.o
obj-y += irq.o obj-y += irq.o
obj-y += setup-i2c0.o obj-y += setup-i2c0.o
# CPU support
obj-$(CONFIG_CPU_S5P6440_INIT) += s5p6440-init.o
obj-$(CONFIG_CPU_S5P6440_CLOCK) += s5p6440-clock.o
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