diff options
author | Ryan Mallon <rmallon@gmail.com> | 2012-01-10 20:35:33 -0500 |
---|---|---|
committer | Ryan Mallon <rmallon@gmail.com> | 2012-03-13 20:43:10 -0400 |
commit | c444dc0765d4ab87e920c1aeb1a5a622c9b661f9 (patch) | |
tree | 73fbdb19683aaa0c4b528932934a215e9f8e6d08 | |
parent | 999c53fb2200070bdb8923c1894f9e14a5ec2de3 (diff) |
ep93xx: Move crunch code to mach-ep93xx directory
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>
-rw-r--r-- | arch/arm/kernel/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-ep93xx/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-ep93xx/crunch-bits.S (renamed from arch/arm/kernel/crunch-bits.S) | 0 | ||||
-rw-r--r-- | arch/arm/mach-ep93xx/crunch.c (renamed from arch/arm/kernel/crunch.c) | 0 |
4 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile index 43b740d0e374..f16d7652f34b 100644 --- a/arch/arm/kernel/Makefile +++ b/arch/arm/kernel/Makefile | |||
@@ -62,9 +62,6 @@ obj-$(CONFIG_SWP_EMULATE) += swp_emulate.o | |||
62 | CFLAGS_swp_emulate.o := -Wa,-march=armv7-a | 62 | CFLAGS_swp_emulate.o := -Wa,-march=armv7-a |
63 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o | 63 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o |
64 | 64 | ||
65 | obj-$(CONFIG_CRUNCH) += crunch.o crunch-bits.o | ||
66 | AFLAGS_crunch-bits.o := -Wa,-mcpu=ep9312 | ||
67 | |||
68 | obj-$(CONFIG_CPU_XSCALE) += xscale-cp0.o | 65 | obj-$(CONFIG_CPU_XSCALE) += xscale-cp0.o |
69 | obj-$(CONFIG_CPU_XSC3) += xscale-cp0.o | 66 | obj-$(CONFIG_CPU_XSC3) += xscale-cp0.o |
70 | obj-$(CONFIG_CPU_MOHAWK) += xscale-cp0.o | 67 | obj-$(CONFIG_CPU_MOHAWK) += xscale-cp0.o |
diff --git a/arch/arm/mach-ep93xx/Makefile b/arch/arm/mach-ep93xx/Makefile index 574209d9e246..0dc51f9462de 100644 --- a/arch/arm/mach-ep93xx/Makefile +++ b/arch/arm/mach-ep93xx/Makefile | |||
@@ -8,6 +8,9 @@ obj- := | |||
8 | 8 | ||
9 | obj-$(CONFIG_EP93XX_DMA) += dma.o | 9 | obj-$(CONFIG_EP93XX_DMA) += dma.o |
10 | 10 | ||
11 | obj-$(CONFIG_CRUNCH) += crunch.o crunch-bits.o | ||
12 | AFLAGS_crunch-bits.o := -Wa,-mcpu=ep9312 | ||
13 | |||
11 | obj-$(CONFIG_MACH_ADSSPHERE) += adssphere.o | 14 | obj-$(CONFIG_MACH_ADSSPHERE) += adssphere.o |
12 | obj-$(CONFIG_MACH_EDB93XX) += edb93xx.o | 15 | obj-$(CONFIG_MACH_EDB93XX) += edb93xx.o |
13 | obj-$(CONFIG_MACH_GESBC9312) += gesbc9312.o | 16 | obj-$(CONFIG_MACH_GESBC9312) += gesbc9312.o |
diff --git a/arch/arm/kernel/crunch-bits.S b/arch/arm/mach-ep93xx/crunch-bits.S index 0ec9bb48fab9..0ec9bb48fab9 100644 --- a/arch/arm/kernel/crunch-bits.S +++ b/arch/arm/mach-ep93xx/crunch-bits.S | |||
diff --git a/arch/arm/kernel/crunch.c b/arch/arm/mach-ep93xx/crunch.c index 25ef223ba7f3..25ef223ba7f3 100644 --- a/arch/arm/kernel/crunch.c +++ b/arch/arm/mach-ep93xx/crunch.c | |||