xref: /openbmc/linux/arch/arm/mach-bcm/Makefile (revision 7b5fe9c9)
1#
2# Copyright (C) 2012-2014 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# BCM281XX
14obj-$(CONFIG_ARCH_BCM_281XX)	+= board_bcm281xx.o
15
16# BCM21664
17obj-$(CONFIG_ARCH_BCM_21664)	+= board_bcm21664.o
18
19# BCM281XX and BCM21664 L2 cache control
20obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona.o
21
22# Support for secure monitor traps
23obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o bcm_kona_smc_asm.o
24plus_sec := $(call as-instr,.arch_extension sec,+sec)
25AFLAGS_bcm_kona_smc_asm.o	:=-Wa,-march=armv7-a$(plus_sec)
26
27# BCM2835
28obj-$(CONFIG_ARCH_BCM2835)	+= board_bcm2835.o
29
30# BCM5301X
31obj-$(CONFIG_ARCH_BCM_5301X)	+= bcm_5301x.o
32