Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / arm / mach-bcm / Makefile
blob6baedf4c63041586be1e517ea107ff95cfb6d5c3
1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2012-2015 Broadcom Corporation
6 # Cygnus
7 obj-$(CONFIG_ARCH_BCM_CYGNUS) += bcm_cygnus.o
9 # Hurricane 2
10 obj-$(CONFIG_ARCH_BCM_HR2) += bcm_hr2.o
12 # Northstar Plus
13 obj-$(CONFIG_ARCH_BCM_NSP) += bcm_nsp.o
15 ifeq ($(CONFIG_ARCH_BCM_NSP),y)
16 obj-$(CONFIG_SMP) += platsmp.o
17 endif
19 # BCM281XX
20 obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o
22 # BCM21664
23 obj-$(CONFIG_ARCH_BCM_21664) += board_bcm21664.o
25 # BCM23550
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)
38 # BCM2835
39 ifeq ($(CONFIG_ARCH_BCM2835),y)
40 obj-y += board_bcm2835.o
41 obj-y += bcm2711.o
42 ifeq ($(CONFIG_ARM),y)
43 obj-$(CONFIG_SMP) += platsmp.o
44 endif
45 endif
47 # BCM5301X
48 obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o
49 ifeq ($(CONFIG_ARCH_BCM_5301X),y)
50 obj-$(CONFIG_SMP) += platsmp.o
51 endif
53 ifeq ($(CONFIG_ARCH_BRCMSTB),y)
54 CFLAGS_platsmp-brcmstb.o += -march=armv7-a
55 obj-y += brcmstb.o
56 obj-$(CONFIG_SMP) += platsmp-brcmstb.o
57 endif
59 # BCMBCA
60 ifeq ($(CONFIG_ARCH_BCMBCA),y)
61 obj-$(CONFIG_DEBUG_BCMBCA) += board_bcmbca.o
62 obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o
63 endif