]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ep93xx: Move crunch code to mach-ep93xx directory
authorRyan Mallon <rmallon@gmail.com>
Wed, 11 Jan 2012 01:35:33 +0000 (12:35 +1100)
committerRyan Mallon <rmallon@gmail.com>
Wed, 14 Mar 2012 00:43:10 +0000 (11:43 +1100)
The crunch code in arch/arm/kernel is specific to the EP93xx. Move it
to the mach-ep93xx directory. This removes the need for the
EP93XX_SYSCON defines to be exported to arch/arm/kernel.

Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Reviewed-by: Mika Westerberg <mika.westerberg@iki.fi>
Acked-by: Hartley Sweeten <hsweeten@visionengravers.com>
arch/arm/kernel/Makefile
arch/arm/mach-ep93xx/Makefile
arch/arm/mach-ep93xx/crunch-bits.S [moved from arch/arm/kernel/crunch-bits.S with 100% similarity]
arch/arm/mach-ep93xx/crunch.c [moved from arch/arm/kernel/crunch.c with 100% similarity]

index 43b740d0e3744ab65b3c6036f342d734753b97de..f16d7652f34b040d1d8e3e3cb3cb4878527f884e 100644 (file)
@@ -62,9 +62,6 @@ obj-$(CONFIG_SWP_EMULATE)     += swp_emulate.o
 CFLAGS_swp_emulate.o           := -Wa,-march=armv7-a
 obj-$(CONFIG_HAVE_HW_BREAKPOINT)       += hw_breakpoint.o
 
-obj-$(CONFIG_CRUNCH)           += crunch.o crunch-bits.o
-AFLAGS_crunch-bits.o           := -Wa,-mcpu=ep9312
-
 obj-$(CONFIG_CPU_XSCALE)       += xscale-cp0.o
 obj-$(CONFIG_CPU_XSC3)         += xscale-cp0.o
 obj-$(CONFIG_CPU_MOHAWK)       += xscale-cp0.o
index 574209d9e2460c7a75696ec8665faba5d819bfc9..0dc51f9462ded5223839c8172d887da5b01fb063 100644 (file)
@@ -8,6 +8,9 @@ obj-                    :=
 
 obj-$(CONFIG_EP93XX_DMA)       += dma.o
 
+obj-$(CONFIG_CRUNCH)           += crunch.o crunch-bits.o
+AFLAGS_crunch-bits.o           := -Wa,-mcpu=ep9312
+
 obj-$(CONFIG_MACH_ADSSPHERE)   += adssphere.o
 obj-$(CONFIG_MACH_EDB93XX)     += edb93xx.o
 obj-$(CONFIG_MACH_GESBC9312)   += gesbc9312.o