Commit | Line | Data |
---|---|---|
8ac49e04 | 1 | # |
1f3e9a6e | 2 | # Copyright (C) 2012-2015 Broadcom Corporation |
8ac49e04 CD |
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 | ||
1b475f8d JR |
13 | # Cygnus |
14 | obj-$(CONFIG_ARCH_BCM_CYGNUS) += bcm_cygnus.o | |
15 | ||
1f3e9a6e | 16 | # Northstar Plus |
97890821 KH |
17 | obj-$(CONFIG_ARCH_BCM_NSP) += bcm_nsp.o |
18 | ||
19 | ifeq ($(CONFIG_ARCH_BCM_NSP),y) | |
20 | obj-$(CONFIG_SMP) += platsmp.o | |
21 | endif | |
1f3e9a6e | 22 | |
1892bbcd AE |
23 | # BCM281XX |
24 | obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o | |
25 | ||
26 | # BCM21664 | |
27 | obj-$(CONFIG_ARCH_BCM_21664) += board_bcm21664.o | |
d30fe627 | 28 | |
9a5a110e | 29 | # BCM281XX and BCM21664 SMP support |
97890821 | 30 | obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o |
9a5a110e | 31 | |
1892bbcd | 32 | # BCM281XX and BCM21664 L2 cache control |
eeda4cb9 | 33 | obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o |
7b5fe9c9 AE |
34 | |
35 | # Support for secure monitor traps | |
8b9c550e AE |
36 | obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o |
37 | ifeq ($(call as-instr,.arch_extension sec,as_has_sec),as_has_sec) | |
38 | CFLAGS_bcm_kona_smc.o += -Wa,-march=armv7-a+sec -DREQUIRES_SEC | |
39 | endif | |
1892bbcd AE |
40 | |
41 | # BCM2835 | |
42 | obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o | |
43 | ||
44 | # BCM5301X | |
5b293ebe | 45 | obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o |
99498905 JM |
46 | ifeq ($(CONFIG_ARCH_BCM_5301X),y) |
47 | obj-$(CONFIG_SMP) += platsmp.o | |
48 | endif | |
4fbe66d9 | 49 | |
dc6aec60 | 50 | # BCM63XXx |
ed5cd816 | 51 | ifeq ($(CONFIG_ARCH_BCM_63XX),y) |
ed5cd816 | 52 | obj-y += bcm63xx.o |
ffb910d7 | 53 | obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o |
ed5cd816 | 54 | endif |
dc6aec60 | 55 | |
4fbe66d9 | 56 | ifeq ($(CONFIG_ARCH_BRCMSTB),y) |
62639c2f | 57 | CFLAGS_platsmp-brcmstb.o += -march=armv7-a |
4fbe66d9 | 58 | obj-y += brcmstb.o |
02b4e275 | 59 | obj-$(CONFIG_SMP) += platsmp-brcmstb.o |
4fbe66d9 | 60 | endif |