xref: /OK3568_Linux_fs/kernel/arch/arm/mach-bcm/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# Copyright (C) 2012-2015 Broadcom Corporation
3*4882a593Smuzhiyun#
4*4882a593Smuzhiyun# This program is free software; you can redistribute it and/or
5*4882a593Smuzhiyun# modify it under the terms of the GNU General Public License as
6*4882a593Smuzhiyun# published by the Free Software Foundation version 2.
7*4882a593Smuzhiyun#
8*4882a593Smuzhiyun# This program is distributed "as is" WITHOUT ANY WARRANTY of any
9*4882a593Smuzhiyun# kind, whether express or implied; without even the implied warranty
10*4882a593Smuzhiyun# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11*4882a593Smuzhiyun# GNU General Public License for more details.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun# Cygnus
14*4882a593Smuzhiyunobj-$(CONFIG_ARCH_BCM_CYGNUS) +=  bcm_cygnus.o
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun# Hurricane 2
17*4882a593Smuzhiyunobj-$(CONFIG_ARCH_BCM_HR2)	+= bcm_hr2.o
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun# Northstar Plus
20*4882a593Smuzhiyunobj-$(CONFIG_ARCH_BCM_NSP)	+= bcm_nsp.o
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunifeq ($(CONFIG_ARCH_BCM_NSP),y)
23*4882a593Smuzhiyunobj-$(CONFIG_SMP)		+= platsmp.o
24*4882a593Smuzhiyunendif
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun# BCM281XX
27*4882a593Smuzhiyunobj-$(CONFIG_ARCH_BCM_281XX)	+= board_bcm281xx.o
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun# BCM21664
30*4882a593Smuzhiyunobj-$(CONFIG_ARCH_BCM_21664)	+= board_bcm21664.o
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun# BCM23550
33*4882a593Smuzhiyunobj-$(CONFIG_ARCH_BCM_23550)	+= board_bcm23550.o
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun# BCM281XX, BCM21664 and BCM23550 SMP support
36*4882a593Smuzhiyunobj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun# BCM281XX and BCM21664 L2 cache control
39*4882a593Smuzhiyunobj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun# Support for secure monitor traps
42*4882a593Smuzhiyunobj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun# BCM2835
45*4882a593Smuzhiyunifeq ($(CONFIG_ARCH_BCM2835),y)
46*4882a593Smuzhiyunobj-y				+= board_bcm2835.o
47*4882a593Smuzhiyunobj-y				+= bcm2711.o
48*4882a593Smuzhiyunifeq ($(CONFIG_ARM),y)
49*4882a593Smuzhiyunobj-$(CONFIG_SMP)		+= platsmp.o
50*4882a593Smuzhiyunendif
51*4882a593Smuzhiyunendif
52*4882a593Smuzhiyun
53*4882a593Smuzhiyun# BCM5301X
54*4882a593Smuzhiyunobj-$(CONFIG_ARCH_BCM_5301X)	+= bcm_5301x.o
55*4882a593Smuzhiyunifeq ($(CONFIG_ARCH_BCM_5301X),y)
56*4882a593Smuzhiyunobj-$(CONFIG_SMP)		+= platsmp.o
57*4882a593Smuzhiyunendif
58*4882a593Smuzhiyun
59*4882a593Smuzhiyun# BCM63XXx
60*4882a593Smuzhiyunifeq ($(CONFIG_ARCH_BCM_63XX),y)
61*4882a593Smuzhiyunobj-y				+= bcm63xx.o
62*4882a593Smuzhiyunobj-$(CONFIG_SMP)		+= bcm63xx_smp.o bcm63xx_pmb.o
63*4882a593Smuzhiyunendif
64*4882a593Smuzhiyun
65*4882a593Smuzhiyunifeq ($(CONFIG_ARCH_BRCMSTB),y)
66*4882a593SmuzhiyunCFLAGS_platsmp-brcmstb.o	+= -march=armv7-a
67*4882a593Smuzhiyunobj-y				+= brcmstb.o
68*4882a593Smuzhiyunobj-$(CONFIG_SMP)		+= platsmp-brcmstb.o
69*4882a593Smuzhiyunendif
70