162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Copyright (C) 2012-2015 Broadcom Corporation
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci# Cygnus
762306a36Sopenharmony_ciobj-$(CONFIG_ARCH_BCM_CYGNUS) +=  bcm_cygnus.o
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci# Hurricane 2
1062306a36Sopenharmony_ciobj-$(CONFIG_ARCH_BCM_HR2)	+= bcm_hr2.o
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci# Northstar Plus
1362306a36Sopenharmony_ciobj-$(CONFIG_ARCH_BCM_NSP)	+= bcm_nsp.o
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciifeq ($(CONFIG_ARCH_BCM_NSP),y)
1662306a36Sopenharmony_ciobj-$(CONFIG_SMP)		+= platsmp.o
1762306a36Sopenharmony_ciendif
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci# BCM281XX
2062306a36Sopenharmony_ciobj-$(CONFIG_ARCH_BCM_281XX)	+= board_bcm281xx.o
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci# BCM21664
2362306a36Sopenharmony_ciobj-$(CONFIG_ARCH_BCM_21664)	+= board_bcm21664.o
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci# BCM23550
2662306a36Sopenharmony_ciobj-$(CONFIG_ARCH_BCM_23550)	+= board_bcm23550.o
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci# BCM281XX, BCM21664 and BCM23550 SMP support
2962306a36Sopenharmony_ciobj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci# BCM281XX and BCM21664 L2 cache control
3262306a36Sopenharmony_ciobj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci# Support for secure monitor traps
3562306a36Sopenharmony_ciobj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o
3662306a36Sopenharmony_ciCFLAGS_REMOVE_bcm_kona_smc.o += $(CC_FLAGS_FTRACE)
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci# BCM2835
3962306a36Sopenharmony_ciifeq ($(CONFIG_ARCH_BCM2835),y)
4062306a36Sopenharmony_ciobj-y				+= board_bcm2835.o
4162306a36Sopenharmony_ciobj-y				+= bcm2711.o
4262306a36Sopenharmony_ciifeq ($(CONFIG_ARM),y)
4362306a36Sopenharmony_ciobj-$(CONFIG_SMP)		+= platsmp.o
4462306a36Sopenharmony_ciendif
4562306a36Sopenharmony_ciendif
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ci# BCM5301X
4862306a36Sopenharmony_ciobj-$(CONFIG_ARCH_BCM_5301X)	+= bcm_5301x.o
4962306a36Sopenharmony_ciifeq ($(CONFIG_ARCH_BCM_5301X),y)
5062306a36Sopenharmony_ciobj-$(CONFIG_SMP)		+= platsmp.o
5162306a36Sopenharmony_ciendif
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ciifeq ($(CONFIG_ARCH_BRCMSTB),y)
5462306a36Sopenharmony_ciCFLAGS_platsmp-brcmstb.o	+= -march=armv7-a
5562306a36Sopenharmony_ciobj-y				+= brcmstb.o
5662306a36Sopenharmony_ciobj-$(CONFIG_SMP)		+= platsmp-brcmstb.o
5762306a36Sopenharmony_ciendif
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ci# BCMBCA
6062306a36Sopenharmony_ciifeq ($(CONFIG_ARCH_BCMBCA),y)
6162306a36Sopenharmony_ciobj-$(CONFIG_SMP)		+= bcm63xx_smp.o bcm63xx_pmb.o
6262306a36Sopenharmony_ciendif
63