blob: 892261fec0ae7febff91c35a3b8c1aab12b3196a [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
17obj-$(CONFIG_ARCH_BCM_NSP) += bcm_nsp.o
18
Alex Elder1892bbc2014-04-15 07:37:19 -050019# BCM281XX
20obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o
Markus Mayerd30fe622014-02-20 16:16:11 -080021
Alex Elder1892bbc2014-04-15 07:37:19 -050022# BCM21664
23obj-$(CONFIG_ARCH_BCM_21664) += board_bcm21664.o
24
Alex Elder9a5a1102014-06-30 17:15:37 -050025# BCM281XX and BCM21664 SMP support
26obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += kona_smp.o
27
Alex Elder1892bbc2014-04-15 07:37:19 -050028# BCM281XX and BCM21664 L2 cache control
Alex Eldereeda4cb2014-04-21 16:53:11 -050029obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
Alex Elder7b5fe9c2014-04-21 16:53:07 -050030
31# Support for secure monitor traps
Alex Elder8b9c5502014-04-21 16:53:09 -050032obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o
33ifeq ($(call as-instr,.arch_extension sec,as_has_sec),as_has_sec)
34CFLAGS_bcm_kona_smc.o += -Wa,-march=armv7-a+sec -DREQUIRES_SEC
35endif
Alex Elder1892bbc2014-04-15 07:37:19 -050036
37# BCM2835
38obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o
39
40# BCM5301X
Hauke Mehrtens5b293eb2014-02-04 00:01:43 +010041obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o
Marc Carino4fbe66d2014-01-16 15:00:42 -080042
Florian Fainellidc6aec62014-02-20 15:53:13 -080043# BCM63XXx
Florian Fainellied5cd812014-08-14 19:37:45 -070044ifeq ($(CONFIG_ARCH_BCM_63XX),y)
Florian Fainellied5cd812014-08-14 19:37:45 -070045obj-y += bcm63xx.o
Florian Fainelliffb910d2015-07-07 18:17:01 -070046obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o
Florian Fainellied5cd812014-08-14 19:37:45 -070047endif
Florian Fainellidc6aec62014-02-20 15:53:13 -080048
Marc Carino4fbe66d2014-01-16 15:00:42 -080049ifeq ($(CONFIG_ARCH_BRCMSTB),y)
Brian Norris62639c22014-09-05 16:31:04 -070050CFLAGS_platsmp-brcmstb.o += -march=armv7-a
Marc Carino4fbe66d2014-01-16 15:00:42 -080051obj-y += brcmstb.o
Russell King02b4e272015-05-19 17:06:44 +010052obj-$(CONFIG_SMP) += platsmp-brcmstb.o
Marc Carino4fbe66d2014-01-16 15:00:42 -080053endif