ep93xx: Move crunch code to mach-ep93xx directory
PATCH v4 9/11 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 <[email protected]>
Cc Russell King <[email protected]>
Reviewed-by Mika Westerberg <[email protected]>
Acked-by Hartley Sweeten <[email protected]>
--- arch/arm/kernel/Makefile | 3 - arch/arm/kernel/crunch-bits.S | 305 ------------------------------------ arch/arm/kernel/crunch.c | 88 ----------- arch/arm/mach-ep93xx/Makefile | 3 + arch/arm/mach-ep93xx/crunch-bits.S | 305 ++++++++++++++++++++++++++++++++++++ arch/arm/mach-ep93xx/crunch.c | 88 +++++++++++ 6 files changed, 396 insertions(+), 396 deletions(-) delete mode 100644 arch/arm/kernel/crunch-bits.S delete mode 100644 arch/arm/kernel/crunch.c create mode 100644 arch/arm/mach-ep93xx/crunch-bits.S create mode 100644 arch/arm/mach-ep93xx/crunch.c
arch/arm/kernel/Makefile +0 -3
@@ -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
arch/arm/kernel/crunch-bits.S deleted +0 -305
305 lines not on this page · raw message
arch/arm/kernel/crunch.c deleted +0 -88
88 lines not on this page · raw message
arch/arm/mach-ep93xx/Makefile +3 -0
@@ -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
arch/arm/mach-ep93xx/crunch-bits.S new file +305 -0
305 lines not on this page · raw message
arch/arm/mach-ep93xx/crunch.c new file +88 -0
88 lines not on this page · raw message
Signature · 1 line
1.7.0.4