blob: 2ecb828e4a8bd223ef086a3787cd7980f557ab78 [file] [log] [blame]
Rob Herring46f20072012-09-27 10:10:12 -05001ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
2 -I$(srctree)/arch/arm/plat-orion/include
Rob Herring387798b2012-09-06 13:41:12 -05003
Tony Lindgren72533b72013-01-11 12:05:31 -08004AFLAGS_coherency_ll.o := -Wa,-march=armv7-a
Vincent Stehlé9f0affc2014-05-06 22:23:02 +02005CFLAGS_pmsu.o := -march=armv7-a
Tony Lindgren72533b72013-01-11 12:05:31 -08006
Thomas Petazzoni00414642014-04-28 20:20:39 +02007obj-y += system-controller.o mvebu-soc-id.o
8
9ifeq ($(CONFIG_MACH_MVEBU_V7),y)
10obj-y += cpu-reset.o board-v7.o coherency.o coherency_ll.o pmsu.o
11obj-$(CONFIG_SMP) += platsmp.o headsmp.o platsmp-a9.o headsmp-a9.o
12obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
13endif
14
Sebastian Hesselbarth00e8ec22014-03-01 09:39:38 +010015obj-$(CONFIG_MACH_DOVE) += dove.o
Andrew Lunnba5a37e2014-02-22 20:14:57 +010016obj-$(CONFIG_MACH_KIRKWOOD) += kirkwood.o kirkwood-pm.o