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