forked from Minki/linux
1892bbcdd4
Currently CONFIG_ARCH_BCM_MOBILE is used to select all (both) Broadcom mobile SoC families. Instead, use that only as a config menu switch, and define specific symbols like ARCH_BCM_281XX to select a particular SoC family. If ARCH_BCM_MOBILE is selected, all of the SoCs will be selected by default, but this way each can be disabled individually as well. Note that BCM281xx and BCM21664 both require the SMC and L2 cache control code, so that code will be built based on ARCH_BCM_MOBILE. Signed-off-by: Alex Elder <elder@linaro.org> [mporter: added ARM: to the description] Signed-off-by: Matt Porter <mporter@linaro.org>
29 lines
950 B
Makefile
29 lines
950 B
Makefile
#
|
|
# Copyright (C) 2012-2014 Broadcom Corporation
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License as
|
|
# published by the Free Software Foundation version 2.
|
|
#
|
|
# This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
|
# kind, whether express or implied; without even the implied warranty
|
|
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# BCM281XX
|
|
obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o
|
|
|
|
# BCM21664
|
|
obj-$(CONFIG_ARCH_BCM_21664) += board_bcm21664.o
|
|
|
|
# BCM281XX and BCM21664 L2 cache control
|
|
obj-$(CONFIG_ARCH_BCM_MOBILE) += bcm_kona_smc.o bcm_kona_smc_asm.o kona.o
|
|
plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
|
AFLAGS_bcm_kona_smc_asm.o :=-Wa,-march=armv7-a$(plus_sec)
|
|
|
|
# BCM2835
|
|
obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o
|
|
|
|
# BCM5301X
|
|
obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o
|