xref: /linux/arch/arm/mach-bcm/Makefile (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Copyright (C) 2012-2015 Broadcom Corporation
4#
5
6# Cygnus
7obj-$(CONFIG_ARCH_BCM_CYGNUS) +=  bcm_cygnus.o
8
9# Hurricane 2
10obj-$(CONFIG_ARCH_BCM_HR2)	+= bcm_hr2.o
11
12# Northstar Plus
13obj-$(CONFIG_ARCH_BCM_NSP)	+= bcm_nsp.o
14
15ifeq ($(CONFIG_ARCH_BCM_NSP),y)
16obj-$(CONFIG_SMP)		+= platsmp.o
17endif
18
19# BCM281XX
20obj-$(CONFIG_ARCH_BCM_281XX)	+= board_bcm281xx.o
21
22# BCM21664
23obj-$(CONFIG_ARCH_BCM_21664)	+= board_bcm21664.o
24
25# BCM23550
26obj-$(CONFIG_ARCH_BCM_23550)	+= board_bcm23550.o
27
28# BCM281XX, BCM21664 and BCM23550 SMP support
29obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o
30
31# BCM281XX and BCM21664 L2 cache control
32obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
33
34# Support for secure monitor traps
35obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o
36CFLAGS_REMOVE_bcm_kona_smc.o += $(CC_FLAGS_FTRACE)
37
38# BCM2835
39ifeq ($(CONFIG_ARCH_BCM2835),y)
40obj-y				+= board_bcm2835.o
41obj-y				+= bcm2711.o
42ifeq ($(CONFIG_ARM),y)
43obj-$(CONFIG_SMP)		+= platsmp.o
44endif
45endif
46
47# BCM5301X
48obj-$(CONFIG_ARCH_BCM_5301X)	+= bcm_5301x.o
49ifeq ($(CONFIG_ARCH_BCM_5301X),y)
50obj-$(CONFIG_SMP)		+= platsmp.o
51endif
52
53ifeq ($(CONFIG_ARCH_BRCMSTB),y)
54CFLAGS_platsmp-brcmstb.o	+= -march=armv7-a
55obj-y				+= brcmstb.o
56obj-$(CONFIG_SMP)		+= platsmp-brcmstb.o
57endif
58
59# BCMBCA
60ifeq ($(CONFIG_ARCH_BCMBCA),y)
61obj-$(CONFIG_DEBUG_BCMBCA)	+= board_bcmbca.o
62obj-$(CONFIG_SMP)		+= bcm63xx_smp.o bcm63xx_pmb.o
63endif
64