1# 2# Copyright (C) 2012-2015 Broadcom Corporation 3# 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. 7# 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. 12 13# Cygnus 14obj-$(CONFIG_ARCH_BCM_CYGNUS) += bcm_cygnus.o 15 16# Hurricane 2 17obj-$(CONFIG_ARCH_BCM_HR2) += bcm_hr2.o 18 19# Northstar Plus 20obj-$(CONFIG_ARCH_BCM_NSP) += bcm_nsp.o 21 22ifeq ($(CONFIG_ARCH_BCM_NSP),y) 23obj-$(CONFIG_SMP) += platsmp.o 24endif 25 26# BCM281XX 27obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o 28 29# BCM21664 30obj-$(CONFIG_ARCH_BCM_21664) += board_bcm21664.o 31 32# BCM23550 33obj-$(CONFIG_ARCH_BCM_23550) += board_bcm23550.o 34 35# BCM281XX, BCM21664 and BCM23550 SMP support 36obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o 37 38# BCM281XX and BCM21664 L2 cache control 39obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o 40 41# Support for secure monitor traps 42obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o 43CFLAGS_REMOVE_bcm_kona_smc.o += $(CC_FLAGS_FTRACE) 44 45# BCM2835 46ifeq ($(CONFIG_ARCH_BCM2835),y) 47obj-y += board_bcm2835.o 48obj-y += bcm2711.o 49ifeq ($(CONFIG_ARM),y) 50obj-$(CONFIG_SMP) += platsmp.o 51endif 52endif 53 54# BCM5301X 55obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o 56ifeq ($(CONFIG_ARCH_BCM_5301X),y) 57obj-$(CONFIG_SMP) += platsmp.o 58endif 59 60# BCM63XXx 61ifeq ($(CONFIG_ARCH_BCM_63XX),y) 62obj-y += bcm63xx.o 63obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o 64endif 65 66ifeq ($(CONFIG_ARCH_BRCMSTB),y) 67CFLAGS_platsmp-brcmstb.o += -march=armv7-a 68obj-y += brcmstb.o 69obj-$(CONFIG_SMP) += platsmp-brcmstb.o 70endif 71