blob: 980f5850097c19094221eb908e61980b5e855a79 [file] [log] [blame]
Christian Daudt8ac49e02012-11-19 09:46:10 -08001#
Jon Mason1f3e9a62015-08-26 18:35:28 -04002# Copyright (C) 2012-2015 Broadcom Corporation
Christian Daudt8ac49e02012-11-19 09:46:10 -08003#
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
Jonathan Richardson1b475f82014-08-15 12:52:00 -070013# Cygnus
14obj-$(CONFIG_ARCH_BCM_CYGNUS) += bcm_cygnus.o
15
Jon Mason1f3e9a62015-08-26 18:35:28 -040016# Northstar Plus
Kapil Hali97890822015-12-01 11:24:08 -050017obj-$(CONFIG_ARCH_BCM_NSP) += bcm_nsp.o
18
19ifeq ($(CONFIG_ARCH_BCM_NSP),y)
20obj-$(CONFIG_SMP) += platsmp.o
21endif
Jon Mason1f3e9a62015-08-26 18:35:28 -040022
Alex Elder1892bbc2014-04-15 07:37:19 -050023# BCM281XX
24obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o
Markus Mayerd30fe622014-02-20 16:16:11 -080025
Alex Elder1892bbc2014-04-15 07:37:19 -050026# BCM21664
27obj-$(CONFIG_ARCH_BCM_21664) += board_bcm21664.o
28
Chris Brand4533d5f2016-05-11 14:36:20 -070029# BCM23550
30obj-$(CONFIG_ARCH_BCM_23550) += board_bcm23550.o
31
32# BCM281XX, BCM21664 and BCM23550 SMP support
Kapil Hali97890822015-12-01 11:24:08 -050033obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o
Alex Elder9a5a1102014-06-30 17:15:37 -050034
Alex Elder1892bbc2014-04-15 07:37:19 -050035# BCM281XX and BCM21664 L2 cache control
Alex Eldereeda4cb2014-04-21 16:53:11 -050036obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
Alex Elder7b5fe9c2014-04-21 16:53:07 -050037
38# Support for secure monitor traps
Alex Elder8b9c5502014-04-21 16:53:09 -050039obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o
40ifeq ($(call as-instr,.arch_extension sec,as_has_sec),as_has_sec)
41CFLAGS_bcm_kona_smc.o += -Wa,-march=armv7-a+sec -DREQUIRES_SEC
42endif
Alex Elder1892bbc2014-04-15 07:37:19 -050043
44# BCM2835
45obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o
46
47# BCM5301X
Hauke Mehrtens5b293eb2014-02-04 00:01:43 +010048obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o
Jon Mason99498902015-12-01 11:24:09 -050049ifeq ($(CONFIG_ARCH_BCM_5301X),y)
50obj-$(CONFIG_SMP) += platsmp.o
51endif
Marc Carino4fbe66d2014-01-16 15:00:42 -080052
Florian Fainellidc6aec62014-02-20 15:53:13 -080053# BCM63XXx
Florian Fainellied5cd812014-08-14 19:37:45 -070054ifeq ($(CONFIG_ARCH_BCM_63XX),y)
Florian Fainellied5cd812014-08-14 19:37:45 -070055obj-y += bcm63xx.o
Florian Fainelliffb910d2015-07-07 18:17:01 -070056obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o
Florian Fainellied5cd812014-08-14 19:37:45 -070057endif
Florian Fainellidc6aec62014-02-20 15:53:13 -080058
Marc Carino4fbe66d2014-01-16 15:00:42 -080059ifeq ($(CONFIG_ARCH_BRCMSTB),y)
Brian Norris62639c22014-09-05 16:31:04 -070060CFLAGS_platsmp-brcmstb.o += -march=armv7-a
Marc Carino4fbe66d2014-01-16 15:00:42 -080061obj-y += brcmstb.o
Russell King02b4e272015-05-19 17:06:44 +010062obj-$(CONFIG_SMP) += platsmp-brcmstb.o
Marc Carino4fbe66d2014-01-16 15:00:42 -080063endif