Skip to content

Commit

Permalink
ep93xx: Move crunch code to mach-ep93xx directory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ryan Mallon committed Mar 14, 2012
1 parent 999c53f commit c444dc0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/arm/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/mach-ep93xx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c444dc0

Please sign in to comment.