1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2012-2015 Broadcom Corporation
7 obj-
$(CONFIG_ARCH_BCM_CYGNUS
) += bcm_cygnus.o
10 obj-
$(CONFIG_ARCH_BCM_HR2
) += bcm_hr2.o
13 obj-
$(CONFIG_ARCH_BCM_NSP
) += bcm_nsp.o
15 ifeq ($(CONFIG_ARCH_BCM_NSP
),y
)
16 obj-
$(CONFIG_SMP
) += platsmp.o
20 obj-
$(CONFIG_ARCH_BCM_281XX
) += board_bcm281xx.o
23 obj-
$(CONFIG_ARCH_BCM_21664
) += board_bcm21664.o
26 obj-
$(CONFIG_ARCH_BCM_23550
) += board_bcm23550.o
28 # BCM281XX, BCM21664 and BCM23550 SMP support
29 obj-
$(CONFIG_ARCH_BCM_MOBILE_SMP
) += platsmp.o
31 # BCM281XX and BCM21664 L2 cache control
32 obj-
$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE
) += kona_l2_cache.o
34 # Support for secure monitor traps
35 obj-
$(CONFIG_ARCH_BCM_MOBILE_SMC
) += bcm_kona_smc.o
36 CFLAGS_REMOVE_bcm_kona_smc.o
+= $(CC_FLAGS_FTRACE
)
39 ifeq ($(CONFIG_ARCH_BCM2835
),y
)
40 obj-y
+= board_bcm2835.o
42 ifeq ($(CONFIG_ARM
),y
)
43 obj-
$(CONFIG_SMP
) += platsmp.o
48 obj-
$(CONFIG_ARCH_BCM_5301X
) += bcm_5301x.o
49 ifeq ($(CONFIG_ARCH_BCM_5301X
),y
)
50 obj-
$(CONFIG_SMP
) += platsmp.o
53 ifeq ($(CONFIG_ARCH_BRCMSTB
),y
)
54 CFLAGS_platsmp-brcmstb.o
+= -march
=armv7-a
56 obj-
$(CONFIG_SMP
) += platsmp-brcmstb.o
60 ifeq ($(CONFIG_ARCH_BCMBCA
),y
)
61 obj-
$(CONFIG_DEBUG_BCMBCA
) += board_bcmbca.o
62 obj-
$(CONFIG_SMP
) += bcm63xx_smp.o bcm63xx_pmb.o