blob: 1780a3ff42f938f3998e2ad0803ab161c32367a0 [file] [log] [blame]
Christian Daudt8ac49e02012-11-19 09:46:10 -08001#
Markus Mayerc3ceebd2014-03-06 17:18:13 +08002# Copyright (C) 2012-2014 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
Alex Elder1892bbc2014-04-15 07:37:19 -050016# BCM281XX
17obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o
Markus Mayerd30fe622014-02-20 16:16:11 -080018
Alex Elder1892bbc2014-04-15 07:37:19 -050019# BCM21664
20obj-$(CONFIG_ARCH_BCM_21664) += board_bcm21664.o
21
Alex Elder9a5a1102014-06-30 17:15:37 -050022# BCM281XX and BCM21664 SMP support
23obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += kona_smp.o
24
Alex Elder1892bbc2014-04-15 07:37:19 -050025# BCM281XX and BCM21664 L2 cache control
Alex Eldereeda4cb2014-04-21 16:53:11 -050026obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
Alex Elder7b5fe9c2014-04-21 16:53:07 -050027
28# Support for secure monitor traps
Alex Elder8b9c5502014-04-21 16:53:09 -050029obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o
30ifeq ($(call as-instr,.arch_extension sec,as_has_sec),as_has_sec)
31CFLAGS_bcm_kona_smc.o += -Wa,-march=armv7-a+sec -DREQUIRES_SEC
32endif
Alex Elder1892bbc2014-04-15 07:37:19 -050033
34# BCM2835
35obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o
36
37# BCM5301X
Hauke Mehrtens5b293eb2014-02-04 00:01:43 +010038obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o
Marc Carino4fbe66d2014-01-16 15:00:42 -080039
Florian Fainellidc6aec62014-02-20 15:53:13 -080040# BCM63XXx
Florian Fainellied5cd812014-08-14 19:37:45 -070041ifeq ($(CONFIG_ARCH_BCM_63XX),y)
Florian Fainellied5cd812014-08-14 19:37:45 -070042obj-y += bcm63xx.o
Florian Fainelliffb910d2015-07-07 18:17:01 -070043obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o
Florian Fainellied5cd812014-08-14 19:37:45 -070044endif
Florian Fainellidc6aec62014-02-20 15:53:13 -080045
Marc Carino4fbe66d2014-01-16 15:00:42 -080046ifeq ($(CONFIG_ARCH_BRCMSTB),y)
Brian Norris62639c22014-09-05 16:31:04 -070047CFLAGS_platsmp-brcmstb.o += -march=armv7-a
Marc Carino4fbe66d2014-01-16 15:00:42 -080048obj-y += brcmstb.o
Russell King02b4e272015-05-19 17:06:44 +010049obj-$(CONFIG_SMP) += platsmp-brcmstb.o
Marc Carino4fbe66d2014-01-16 15:00:42 -080050endif