Skip to content

Commit

Permalink
[ARM] S3C24XX: Move files out of include/asm-arm/plat-s3c*
Browse files Browse the repository at this point in the history
First move of items out of include/asm-arm/plat-s3c* to their
new homes under arch/arm/plat-s3c/include/plat and
arch/arm/plat-s3c24xx/include/plat directories.

Note, we have to create a dummy arch/arm/plat-s3c/Makefile to
allow us to add arch/arm/plat-s3c/include/plat to the path.

Signed-off-by: Ben Dooks <[email protected]>
  • Loading branch information
Ben Dooks committed Oct 7, 2008
1 parent 4330ed8 commit a2b7ba9
Show file tree
Hide file tree
Showing 78 changed files with 174 additions and 171 deletions.
2 changes: 1 addition & 1 deletion arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ endif
machine-$(CONFIG_ARCH_OMAP2) := omap2
plat-$(CONFIG_ARCH_OMAP) := omap
machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443
plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx
plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx s3c
machine-$(CONFIG_ARCH_LH7A40X) := lh7a40x
machine-$(CONFIG_ARCH_VERSATILE) := versatile
machine-$(CONFIG_ARCH_IMX) := imx
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/bast-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <mach/bast-map.h>
#include <mach/bast-irq.h>

#include <asm/plat-s3c24xx/irq.h>
#include <plat/irq.h>

#if 0
#include <asm/debug-ll.h>
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c2410/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
#include <mach/hardware.h>
#include <asm/io.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-clock.h>
#include <mach/regs-gpio.h>

#include <asm/plat-s3c24xx/s3c2410.h>
#include <plat/s3c2410.h>
#include <asm/plat-s3c24xx/clock.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/cpu.h>

int s3c2410_clkcon_enable(struct clk *clk, int enable)
{
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-s3c2410/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#include <asm/dma.h>
#include <mach/dma.h>

#include <asm/plat-s3c24xx/cpu.h>
#include <plat/cpu.h>
#include <asm/plat-s3c24xx/dma.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <asm/plat-s3c/regs-ac97.h>
#include <mach/regs-mem.h>
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-s3c2410/include/mach/debug-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <mach/map.h>
#include <mach/regs-gpio.h>
#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>

#define S3C2410_UART1_OFF (0x4000)
#define SHIFT_2440TXF (14-9)
Expand Down Expand Up @@ -99,4 +99,4 @@

/* include the reset of the code which will do the work */

#include <asm/plat-s3c/debug-macro.S>
#include <plat/debug-macro.S>
4 changes: 2 additions & 2 deletions arch/arm/mach-s3c2410/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
#include <linux/ioport.h>
#include <linux/sysdev.h>

#include <asm/plat-s3c24xx/cpu.h>
#include <asm/plat-s3c24xx/pm.h>
#include <plat/cpu.h>
#include <plat/pm.h>

static int s3c2410_irq_add(struct sys_device *sysdev)
{
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c2410/mach-amlm5900.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
#include <asm/mach-types.h>
#include <mach/fb.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-lcd.h>
#include <mach/regs-gpio.h>

#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/devs.h>
#include <plat/cpu.h>

#ifdef CONFIG_MTD_PARTITIONS

Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c2410/mach-bast.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <asm/mach-types.h>

//#include <asm/debug-ll.h>
#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-mem.h>
#include <mach/regs-lcd.h>
Expand All @@ -56,8 +56,8 @@
#include <linux/serial_8250.h>

#include <asm/plat-s3c24xx/clock.h>
#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/devs.h>
#include <plat/cpu.h>

#include "usb-simtec.h"
#include "nor-simtec.h"
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c2410/mach-h1940.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <asm/irq.h>
#include <asm/mach-types.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-lcd.h>
#include <mach/regs-gpio.h>
#include <mach/regs-clock.h>
Expand All @@ -41,9 +41,9 @@
#include <asm/plat-s3c24xx/udc.h>

#include <asm/plat-s3c24xx/clock.h>
#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <asm/plat-s3c24xx/pm.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/pm.h>

static struct map_desc h1940_iodesc[] __initdata = {
[0] = {
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c2410/mach-n30.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
#include <asm/mach/map.h>

#include <asm/plat-s3c/iic.h>
#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>

#include <asm/plat-s3c24xx/clock.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/s3c2410.h>
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/s3c2410.h>
#include <asm/plat-s3c24xx/udc.h>

static struct map_desc n30_iodesc[] __initdata = {
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c2410/mach-otom.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
#include <asm/irq.h>
#include <asm/mach-types.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>

#include <asm/plat-s3c24xx/s3c2410.h>
#include <plat/s3c2410.h>
#include <asm/plat-s3c24xx/clock.h>
#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/devs.h>
#include <plat/cpu.h>

static struct map_desc otom11_iodesc[] __initdata = {
/* Device area */
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c2410/mach-qt2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@

#include <mach/regs-gpio.h>
#include <mach/leds-gpio.h>
#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/fb.h>
#include <asm/plat-s3c/nand.h>
#include <asm/plat-s3c24xx/udc.h>
#include <mach/spi.h>
#include <mach/spi-gpio.h>

#include <asm/plat-s3c24xx/common-smdk.h>
#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <asm/plat-s3c24xx/pm.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/pm.h>

static struct map_desc qt2410_iodesc[] __initdata = {
{ 0xe0000000, __phys_to_pfn(S3C2410_CS3+0x01000000), SZ_1M, MT_DEVICE }
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c2410/mach-smdk2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
#include <asm/irq.h>
#include <asm/mach-types.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>

#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/devs.h>
#include <plat/cpu.h>

#include <asm/plat-s3c24xx/common-smdk.h>

Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c2410/mach-tct_hammer.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
#include <asm/irq.h>
#include <asm/mach-types.h>

#include <asm/plat-s3c/regs-serial.h>
#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/regs-serial.h>
#include <plat/devs.h>
#include <plat/cpu.h>

#ifdef CONFIG_MTD_PARTITIONS

Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c2410/mach-vr1000.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
#include <asm/irq.h>
#include <asm/mach-types.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/leds-gpio.h>

#include <asm/plat-s3c24xx/clock.h>
#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/devs.h>
#include <plat/cpu.h>

#include "usb-simtec.h"
#include "nor-simtec.h"
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-s3c2410/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
#include <mach/regs-gpio.h>
#include <mach/h1940.h>

#include <asm/plat-s3c24xx/cpu.h>
#include <asm/plat-s3c24xx/pm.h>
#include <plat/cpu.h>
#include <plat/pm.h>

#ifdef CONFIG_S3C2410_PM_DEBUG
extern void pm_dbg(const char *fmt, ...);
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c2410/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
#include <asm/irq.h>

#include <mach/regs-clock.h>
#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>

#include <asm/plat-s3c24xx/s3c2410.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <asm/plat-s3c24xx/devs.h>
#include <plat/s3c2410.h>
#include <plat/cpu.h>
#include <plat/devs.h>
#include <asm/plat-s3c24xx/clock.h>

/* Initial IO mappings */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/sleep.S
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <mach/regs-gpio.h>
#include <mach/regs-clock.h>
#include <mach/regs-mem.h>
#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>

/* s3c2410_cpu_suspend
*
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/usb-simtec.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <asm/io.h>
#include <asm/irq.h>

#include <asm/plat-s3c24xx/devs.h>
#include <plat/devs.h>
#include "usb-simtec.h"

/* control power and monitor over-current events on various Simtec
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-s3c2412/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
#include <mach/hardware.h>
#include <asm/io.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-clock.h>
#include <mach/regs-gpio.h>

#include <asm/plat-s3c24xx/s3c2412.h>
#include <asm/plat-s3c24xx/clock.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/cpu.h>

/* We currently have to assume that the system is running
* from the XTPll input, and that all ***REFCLKs are being
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-s3c2412/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
#include <asm/io.h>

#include <asm/plat-s3c24xx/dma.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/cpu.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <asm/plat-s3c/regs-ac97.h>
#include <mach/regs-mem.h>
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-s3c2412/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
#include <mach/regs-gpio.h>
#include <mach/regs-power.h>

#include <asm/plat-s3c24xx/cpu.h>
#include <asm/plat-s3c24xx/irq.h>
#include <asm/plat-s3c24xx/pm.h>
#include <plat/cpu.h>
#include <plat/irq.h>
#include <plat/pm.h>

#define INTMSK(start, end) ((1 << ((end) + 1 - (start))) - 1)
#define INTMSK_SUB(start, end) (INTMSK(start, end) << ((start - S3C2410_IRQSUB(0))))
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c2412/mach-jive.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <asm/mach/map.h>
#include <asm/mach/irq.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <asm/plat-s3c/nand.h>
#include <asm/plat-s3c/iic.h>

Expand All @@ -49,9 +49,9 @@
#include <linux/mtd/partitions.h>

#include <asm/plat-s3c24xx/clock.h>
#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <asm/plat-s3c24xx/pm.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/pm.h>
#include <asm/plat-s3c24xx/udc.h>

static struct map_desc jive_iodesc[] __initdata = {
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c2412/mach-smdk2413.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@
#include <asm/mach-types.h>

//#include <asm/debug-ll.h>
#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-lcd.h>

#include <mach/idle.h>
#include <asm/plat-s3c24xx/udc.h>
#include <mach/fb.h>

#include <asm/plat-s3c24xx/s3c2410.h>
#include <plat/s3c2410.h>
#include <asm/plat-s3c24xx/s3c2412.h>
#include <asm/plat-s3c24xx/clock.h>
#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/devs.h>
#include <plat/cpu.h>

#include <asm/plat-s3c24xx/common-smdk.h>

Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-s3c2412/mach-vstms.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <asm/irq.h>
#include <asm/mach-types.h>

#include <asm/plat-s3c/regs-serial.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-lcd.h>

Expand All @@ -42,11 +42,11 @@

#include <asm/plat-s3c/nand.h>

#include <asm/plat-s3c24xx/s3c2410.h>
#include <plat/s3c2410.h>
#include <asm/plat-s3c24xx/s3c2412.h>
#include <asm/plat-s3c24xx/clock.h>
#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c24xx/cpu.h>
#include <plat/devs.h>
#include <plat/cpu.h>


static struct map_desc vstms_iodesc[] __initdata = {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-s3c2412/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
#include <mach/regs-gpio.h>
#include <mach/regs-dsc.h>

#include <asm/plat-s3c24xx/cpu.h>
#include <asm/plat-s3c24xx/pm.h>
#include <plat/cpu.h>
#include <plat/pm.h>

#include <asm/plat-s3c24xx/s3c2412.h>

Expand Down
Loading

0 comments on commit a2b7ba9

Please sign in to comment.