Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 1 | # |
Jon Mason | 1f3e9a6 | 2015-08-26 18:35:28 -0400 | [diff] [blame] | 2 | # Copyright (C) 2012-2015 Broadcom Corporation |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 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 | |
Jonathan Richardson | 1b475f8 | 2014-08-15 12:52:00 -0700 | [diff] [blame] | 13 | # Cygnus |
| 14 | obj-$(CONFIG_ARCH_BCM_CYGNUS) += bcm_cygnus.o |
| 15 | |
Jon Mason | 1f3e9a6 | 2015-08-26 18:35:28 -0400 | [diff] [blame] | 16 | # Northstar Plus |
Kapil Hali | 9789082 | 2015-12-01 11:24:08 -0500 | [diff] [blame] | 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 |
Jon Mason | 1f3e9a6 | 2015-08-26 18:35:28 -0400 | [diff] [blame] | 22 | |
Alex Elder | 1892bbc | 2014-04-15 07:37:19 -0500 | [diff] [blame] | 23 | # BCM281XX |
| 24 | obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o |
Markus Mayer | d30fe62 | 2014-02-20 16:16:11 -0800 | [diff] [blame] | 25 | |
Alex Elder | 1892bbc | 2014-04-15 07:37:19 -0500 | [diff] [blame] | 26 | # BCM21664 |
| 27 | obj-$(CONFIG_ARCH_BCM_21664) += board_bcm21664.o |
| 28 | |
Chris Brand | 4533d5f | 2016-05-11 14:36:20 -0700 | [diff] [blame] | 29 | # BCM23550 |
| 30 | obj-$(CONFIG_ARCH_BCM_23550) += board_bcm23550.o |
| 31 | |
| 32 | # BCM281XX, BCM21664 and BCM23550 SMP support |
Kapil Hali | 9789082 | 2015-12-01 11:24:08 -0500 | [diff] [blame] | 33 | obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o |
Alex Elder | 9a5a110 | 2014-06-30 17:15:37 -0500 | [diff] [blame] | 34 | |
Alex Elder | 1892bbc | 2014-04-15 07:37:19 -0500 | [diff] [blame] | 35 | # BCM281XX and BCM21664 L2 cache control |
Alex Elder | eeda4cb | 2014-04-21 16:53:11 -0500 | [diff] [blame] | 36 | obj-$(CONFIG_ARCH_BCM_MOBILE_L2_CACHE) += kona_l2_cache.o |
Alex Elder | 7b5fe9c | 2014-04-21 16:53:07 -0500 | [diff] [blame] | 37 | |
| 38 | # Support for secure monitor traps |
Alex Elder | 8b9c550 | 2014-04-21 16:53:09 -0500 | [diff] [blame] | 39 | obj-$(CONFIG_ARCH_BCM_MOBILE_SMC) += bcm_kona_smc.o |
| 40 | ifeq ($(call as-instr,.arch_extension sec,as_has_sec),as_has_sec) |
| 41 | CFLAGS_bcm_kona_smc.o += -Wa,-march=armv7-a+sec -DREQUIRES_SEC |
| 42 | endif |
Alex Elder | 1892bbc | 2014-04-15 07:37:19 -0500 | [diff] [blame] | 43 | |
| 44 | # BCM2835 |
| 45 | obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o |
| 46 | |
| 47 | # BCM5301X |
Hauke Mehrtens | 5b293eb | 2014-02-04 00:01:43 +0100 | [diff] [blame] | 48 | obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o |
Jon Mason | 9949890 | 2015-12-01 11:24:09 -0500 | [diff] [blame] | 49 | ifeq ($(CONFIG_ARCH_BCM_5301X),y) |
| 50 | obj-$(CONFIG_SMP) += platsmp.o |
| 51 | endif |
Marc Carino | 4fbe66d | 2014-01-16 15:00:42 -0800 | [diff] [blame] | 52 | |
Florian Fainelli | dc6aec6 | 2014-02-20 15:53:13 -0800 | [diff] [blame] | 53 | # BCM63XXx |
Florian Fainelli | ed5cd81 | 2014-08-14 19:37:45 -0700 | [diff] [blame] | 54 | ifeq ($(CONFIG_ARCH_BCM_63XX),y) |
Florian Fainelli | ed5cd81 | 2014-08-14 19:37:45 -0700 | [diff] [blame] | 55 | obj-y += bcm63xx.o |
Florian Fainelli | ffb910d | 2015-07-07 18:17:01 -0700 | [diff] [blame] | 56 | obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o |
Florian Fainelli | ed5cd81 | 2014-08-14 19:37:45 -0700 | [diff] [blame] | 57 | endif |
Florian Fainelli | dc6aec6 | 2014-02-20 15:53:13 -0800 | [diff] [blame] | 58 | |
Marc Carino | 4fbe66d | 2014-01-16 15:00:42 -0800 | [diff] [blame] | 59 | ifeq ($(CONFIG_ARCH_BRCMSTB),y) |
Brian Norris | 62639c2 | 2014-09-05 16:31:04 -0700 | [diff] [blame] | 60 | CFLAGS_platsmp-brcmstb.o += -march=armv7-a |
Marc Carino | 4fbe66d | 2014-01-16 15:00:42 -0800 | [diff] [blame] | 61 | obj-y += brcmstb.o |
Russell King | 02b4e27 | 2015-05-19 17:06:44 +0100 | [diff] [blame] | 62 | obj-$(CONFIG_SMP) += platsmp-brcmstb.o |
Marc Carino | 4fbe66d | 2014-01-16 15:00:42 -0800 | [diff] [blame] | 63 | endif |