Browse Source

ARM: spear: move all files to mach-spear

There are no conflicting files between the three mach-spear* directories
and plat-spear any more, so we can now move all file to a common
mach-spear directory.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Arnd Bergmann 12 years ago
parent
commit
a7ed099ffc
35 changed files with 24 additions and 51 deletions
  1. 1 1
      arch/arm/Kconfig
  2. 1 4
      arch/arm/Makefile
  3. 0 0
      arch/arm/mach-spear/Kconfig
  4. 22 0
      arch/arm/mach-spear/Makefile
  5. 0 0
      arch/arm/mach-spear/Makefile.boot
  6. 0 0
      arch/arm/mach-spear/headsmp.S
  7. 0 0
      arch/arm/mach-spear/hotplug.c
  8. 0 0
      arch/arm/mach-spear/include/mach/debug-macro.S
  9. 0 0
      arch/arm/mach-spear/include/mach/generic.h
  10. 0 0
      arch/arm/mach-spear/include/mach/hardware.h
  11. 0 0
      arch/arm/mach-spear/include/mach/irqs.h
  12. 0 0
      arch/arm/mach-spear/include/mach/misc_regs.h
  13. 0 0
      arch/arm/mach-spear/include/mach/spear.h
  14. 0 0
      arch/arm/mach-spear/include/mach/timex.h
  15. 0 0
      arch/arm/mach-spear/include/mach/uncompress.h
  16. 0 0
      arch/arm/mach-spear/include/plat/pl080.h
  17. 0 0
      arch/arm/mach-spear/pl080.c
  18. 0 0
      arch/arm/mach-spear/platsmp.c
  19. 0 0
      arch/arm/mach-spear/restart.c
  20. 0 0
      arch/arm/mach-spear/spear1310.c
  21. 0 0
      arch/arm/mach-spear/spear1340.c
  22. 0 0
      arch/arm/mach-spear/spear13xx-dma.h
  23. 0 0
      arch/arm/mach-spear/spear13xx.c
  24. 0 0
      arch/arm/mach-spear/spear300.c
  25. 0 0
      arch/arm/mach-spear/spear310.c
  26. 0 0
      arch/arm/mach-spear/spear320.c
  27. 0 0
      arch/arm/mach-spear/spear3xx.c
  28. 0 0
      arch/arm/mach-spear/spear6xx.c
  29. 0 0
      arch/arm/mach-spear/time.c
  30. 0 10
      arch/arm/mach-spear13xx/Makefile
  31. 0 15
      arch/arm/mach-spear3xx/Makefile
  32. 0 3
      arch/arm/mach-spear3xx/Makefile.boot
  33. 0 6
      arch/arm/mach-spear6xx/Makefile
  34. 0 3
      arch/arm/mach-spear6xx/Makefile.boot
  35. 0 9
      arch/arm/plat-spear/Makefile

+ 1 - 1
arch/arm/Kconfig

@@ -1104,7 +1104,7 @@ source "arch/arm/plat-samsung/Kconfig"
 
 source "arch/arm/mach-socfpga/Kconfig"
 
-source "arch/arm/plat-spear/Kconfig"
+source "arch/arm/mach-spear/Kconfig"
 
 source "arch/arm/mach-s3c24xx/Kconfig"
 

+ 1 - 4
arch/arm/Makefile

@@ -191,9 +191,7 @@ machine-$(CONFIG_ARCH_VT8500)		+= vt8500
 machine-$(CONFIG_ARCH_W90X900)		+= w90x900
 machine-$(CONFIG_FOOTBRIDGE)		+= footbridge
 machine-$(CONFIG_ARCH_SOCFPGA)		+= socfpga
-machine-$(CONFIG_ARCH_SPEAR13XX)	+= spear13xx
-machine-$(CONFIG_ARCH_SPEAR3XX)		+= spear3xx
-machine-$(CONFIG_MACH_SPEAR600)		+= spear6xx
+machine-$(CONFIG_PLAT_SPEAR)		+= spear
 machine-$(CONFIG_ARCH_VIRT)		+= virt
 machine-$(CONFIG_ARCH_ZYNQ)		+= zynq
 machine-$(CONFIG_ARCH_SUNXI)		+= sunxi
@@ -207,7 +205,6 @@ plat-$(CONFIG_PLAT_ORION)	+= orion
 plat-$(CONFIG_PLAT_PXA)		+= pxa
 plat-$(CONFIG_PLAT_S3C24XX)	+= samsung
 plat-$(CONFIG_PLAT_S5P)		+= samsung
-plat-$(CONFIG_PLAT_SPEAR)	+= spear
 plat-$(CONFIG_PLAT_VERSATILE)	+= versatile
 
 ifeq ($(CONFIG_ARCH_EBSA110),y)

+ 0 - 0
arch/arm/plat-spear/Kconfig → arch/arm/mach-spear/Kconfig


+ 22 - 0
arch/arm/mach-spear/Makefile

@@ -0,0 +1,22 @@
+#
+# SPEAr Platform specific Makefile
+#
+
+# Common support
+obj-y	:= restart.o time.o
+
+obj-$(CONFIG_SMP)		+= headsmp.o platsmp.o
+obj-$(CONFIG_HOTPLUG_CPU)	+= hotplug.o
+
+obj-$(CONFIG_ARCH_SPEAR13XX)	+= spear13xx.o
+obj-$(CONFIG_MACH_SPEAR1310)	+= spear1310.o
+obj-$(CONFIG_MACH_SPEAR1340)	+= spear1340.o
+
+obj-$(CONFIG_ARCH_SPEAR3XX)	+= spear3xx.o
+obj-$(CONFIG_ARCH_SPEAR3XX)	+= pl080.o
+obj-$(CONFIG_MACH_SPEAR300)	+= spear300.o
+obj-$(CONFIG_MACH_SPEAR310)	+= spear310.o
+obj-$(CONFIG_MACH_SPEAR320)	+= spear320.o
+
+obj-$(CONFIG_ARCH_SPEAR6XX)	+= spear6xx.o
+obj-$(CONFIG_ARCH_SPEAR6XX)	+= pl080.o

+ 0 - 0
arch/arm/mach-spear13xx/Makefile.boot → arch/arm/mach-spear/Makefile.boot


+ 0 - 0
arch/arm/mach-spear13xx/headsmp.S → arch/arm/mach-spear/headsmp.S


+ 0 - 0
arch/arm/mach-spear13xx/hotplug.c → arch/arm/mach-spear/hotplug.c


+ 0 - 0
arch/arm/plat-spear/include/mach/debug-macro.S → arch/arm/mach-spear/include/mach/debug-macro.S


+ 0 - 0
arch/arm/plat-spear/include/mach/generic.h → arch/arm/mach-spear/include/mach/generic.h


+ 0 - 0
arch/arm/plat-spear/include/mach/hardware.h → arch/arm/mach-spear/include/mach/hardware.h


+ 0 - 0
arch/arm/plat-spear/include/mach/irqs.h → arch/arm/mach-spear/include/mach/irqs.h


+ 0 - 0
arch/arm/plat-spear/include/mach/misc_regs.h → arch/arm/mach-spear/include/mach/misc_regs.h


+ 0 - 0
arch/arm/plat-spear/include/mach/spear.h → arch/arm/mach-spear/include/mach/spear.h


+ 0 - 0
arch/arm/plat-spear/include/mach/timex.h → arch/arm/mach-spear/include/mach/timex.h


+ 0 - 0
arch/arm/plat-spear/include/mach/uncompress.h → arch/arm/mach-spear/include/mach/uncompress.h


+ 0 - 0
arch/arm/plat-spear/include/plat/pl080.h → arch/arm/mach-spear/include/plat/pl080.h


+ 0 - 0
arch/arm/plat-spear/pl080.c → arch/arm/mach-spear/pl080.c


+ 0 - 0
arch/arm/mach-spear13xx/platsmp.c → arch/arm/mach-spear/platsmp.c


+ 0 - 0
arch/arm/plat-spear/restart.c → arch/arm/mach-spear/restart.c


+ 0 - 0
arch/arm/mach-spear13xx/spear1310.c → arch/arm/mach-spear/spear1310.c


+ 0 - 0
arch/arm/mach-spear13xx/spear1340.c → arch/arm/mach-spear/spear1340.c


+ 0 - 0
arch/arm/mach-spear13xx/spear13xx-dma.h → arch/arm/mach-spear/spear13xx-dma.h


+ 0 - 0
arch/arm/mach-spear13xx/spear13xx.c → arch/arm/mach-spear/spear13xx.c


+ 0 - 0
arch/arm/mach-spear3xx/spear300.c → arch/arm/mach-spear/spear300.c


+ 0 - 0
arch/arm/mach-spear3xx/spear310.c → arch/arm/mach-spear/spear310.c


+ 0 - 0
arch/arm/mach-spear3xx/spear320.c → arch/arm/mach-spear/spear320.c


+ 0 - 0
arch/arm/mach-spear3xx/spear3xx.c → arch/arm/mach-spear/spear3xx.c


+ 0 - 0
arch/arm/mach-spear6xx/spear6xx.c → arch/arm/mach-spear/spear6xx.c


+ 0 - 0
arch/arm/plat-spear/time.c → arch/arm/mach-spear/time.c


+ 0 - 10
arch/arm/mach-spear13xx/Makefile

@@ -1,10 +0,0 @@
-#
-# Makefile for SPEAr13XX machine series
-#
-
-obj-$(CONFIG_SMP)		+= headsmp.o platsmp.o
-obj-$(CONFIG_HOTPLUG_CPU)	+= hotplug.o
-
-obj-$(CONFIG_ARCH_SPEAR13XX)	+= spear13xx.o
-obj-$(CONFIG_MACH_SPEAR1310)	+= spear1310.o
-obj-$(CONFIG_MACH_SPEAR1340)	+= spear1340.o

+ 0 - 15
arch/arm/mach-spear3xx/Makefile

@@ -1,15 +0,0 @@
-#
-# Makefile for SPEAr3XX machine series
-#
-
-# common files
-obj-$(CONFIG_ARCH_SPEAR3XX)	+= spear3xx.o
-
-# spear300 specific files
-obj-$(CONFIG_MACH_SPEAR300) += spear300.o
-
-# spear310 specific files
-obj-$(CONFIG_MACH_SPEAR310) += spear310.o
-
-# spear320 specific files
-obj-$(CONFIG_MACH_SPEAR320) += spear320.o

+ 0 - 3
arch/arm/mach-spear3xx/Makefile.boot

@@ -1,3 +0,0 @@
-zreladdr-y	+= 0x00008000
-params_phys-y	:= 0x00000100
-initrd_phys-y	:= 0x00800000

+ 0 - 6
arch/arm/mach-spear6xx/Makefile

@@ -1,6 +0,0 @@
-#
-# Makefile for SPEAr6XX machine series
-#
-
-# common files
-obj-y	+= spear6xx.o

+ 0 - 3
arch/arm/mach-spear6xx/Makefile.boot

@@ -1,3 +0,0 @@
-zreladdr-y	+= 0x00008000
-params_phys-y	:= 0x00000100
-initrd_phys-y	:= 0x00800000

+ 0 - 9
arch/arm/plat-spear/Makefile

@@ -1,9 +0,0 @@
-#
-# SPEAr Platform specific Makefile
-#
-
-# Common support
-obj-y	:= restart.o time.o
-
-obj-$(CONFIG_ARCH_SPEAR3XX)	+= pl080.o
-obj-$(CONFIG_ARCH_SPEAR6XX)	+= pl080.o