Commit cde35bd0 authored by Arnd Bergmann's avatar Arnd Bergmann

ARM: spear: build hotplug.o for armv7-a

The hotplug.c file uses assembly instructions that are only available
on ARMv7 but not on ARMv6. This is ok because we know that code will
only run on arm ARMv7 SPEARr13xx, but it produces build errors when
we also enable one of the ARMv6 targets in a multiplatform configuration.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent ae55afce
......@@ -22,3 +22,5 @@ obj-$(CONFIG_MACH_SPEAR320) += spear320.o
obj-$(CONFIG_ARCH_SPEAR6XX) += spear6xx.o
obj-$(CONFIG_ARCH_SPEAR6XX) += pl080.o
CFLAGS_hotplug.o += -march=armv7-a
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment