Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / arm / mach-bcm / Makefile
blob8fd23b263c602b92bf0c95790061d4a12abb4b3b
2 # Copyright (C) 2012-2015 Broadcom Corporation
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License as
6 # published by the Free Software Foundation version 2.
8 # This program is distributed "as is" WITHOUT ANY WARRANTY of any
9 # kind, whether express or implied; without even the implied warranty
10 # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # Cygnus
14 obj-$(CONFIG_ARCH_BCM_CYGNUS) += bcm_cygnus.o
16 # Hurricane 2
17 obj-$(CONFIG_ARCH_BCM_HR2) += bcm_hr2.o
19 # Northstar Plus
20 obj-$(CONFIG_ARCH_BCM_NSP) += bcm_nsp.o
22 ifeq ($(CONFIG_ARCH_BCM_NSP),y)
23 obj-$(CONFIG_SMP) += platsmp.o
24 endif
26 # BCM281XX
27 obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o
29 # BCM21664
30 obj-$(CONFIG_ARCH_BCM_21664) += board_bcm21664.o
32 # BCM23550
33 obj-$(CONFIG_ARCH_BCM_23550) += board_bcm23550.o
35 # BCM281XX, BCM21664 and BCM23550 SMP support
36 obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o
38 # BCM281XX and BCM21664 L2 cache control
39 obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
41 # Support for secure monitor traps
42 obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o
43 ifeq ($(call as-instr,.arch_extension sec,as_has_sec),as_has_sec)
44 CFLAGS_bcm_kona_smc.o += -Wa,-march=armv7-a+sec -DREQUIRES_SEC
45 endif
47 # BCM2835
48 obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o
49 ifeq ($(CONFIG_ARCH_BCM2835),y)
50 ifeq ($(CONFIG_ARM),y)
51 obj-$(CONFIG_SMP) += platsmp.o
52 endif
53 endif
55 # BCM5301X
56 obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o
57 ifeq ($(CONFIG_ARCH_BCM_5301X),y)
58 obj-$(CONFIG_SMP) += platsmp.o
59 endif
61 # BCM63XXx
62 ifeq ($(CONFIG_ARCH_BCM_63XX),y)
63 obj-y += bcm63xx.o
64 obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o
65 endif
67 ifeq ($(CONFIG_ARCH_BRCMSTB),y)
68 CFLAGS_platsmp-brcmstb.o += -march=armv7-a
69 obj-y += brcmstb.o
70 obj-$(CONFIG_SMP) += platsmp-brcmstb.o
71 endif