summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/Makefile
diff options
context:
space:
mode:
authorSantosh Shilimkar2010-03-11 08:33:46 +0100
committerTony Lindgren2010-03-11 18:38:53 +0100
commitd660f9a26ef81c3bbced92514ffbe82e1b882ee1 (patch)
tree17997ef37df0ff3a0274b705d5d079531bc601d0 /arch/arm/mach-omap2/Makefile
parentomap2/3/4: ehci: avoid compiler error with touchbook (diff)
downloadkernel-qcow2-linux-d660f9a26ef81c3bbced92514ffbe82e1b882ee1.tar.gz
kernel-qcow2-linux-d660f9a26ef81c3bbced92514ffbe82e1b882ee1.tar.xz
kernel-qcow2-linux-d660f9a26ef81c3bbced92514ffbe82e1b882ee1.zip
omap4: Fix build break by moving omap_smc1 into a separate .S
This patch moves omap_smc1 function to a seperate omap44xx-smc.S file and sets compile flags as -Wa,-march=armv7-a. This fix was suggested by Tony Lindgren <tony@atomide.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> [tony@atomide.com: otherwise multi-omap build with V6 and V7 breaks] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r--arch/arm/mach-omap2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 2069fb33baaa..4b9fc57770db 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -22,6 +22,9 @@ obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
# SMP support ONLY available for OMAP4
obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
obj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o
+obj-$(CONFIG_ARCH_OMAP4) += omap44xx-smc.o
+
+AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a
# Functions loaded to SRAM
obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o