blob: 4fb0da458e9171e929f303e40a8ccc114666c8cd [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)
42CFLAGS_bcm63xx_headsmp.o += -march=armv7-a
43obj-y += bcm63xx.o
44obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_headsmp.o \
45 bcm63xx_pmb.o
46endif
Florian Fainellidc6aec62014-02-20 15:53:13 -080047
Marc Carino4fbe66d2014-01-16 15:00:42 -080048ifeq ($(CONFIG_ARCH_BRCMSTB),y)
Brian Norris62639c22014-09-05 16:31:04 -070049CFLAGS_platsmp-brcmstb.o += -march=armv7-a
Marc Carino4fbe66d2014-01-16 15:00:42 -080050obj-y += brcmstb.o
Russell King02b4e272015-05-19 17:06:44 +010051obj-$(CONFIG_SMP) += platsmp-brcmstb.o
Marc Carino4fbe66d2014-01-16 15:00:42 -080052endif