summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm/Makefile
diff options
context:
space:
mode:
authorChristian Daudt <csd@broadcom.com>2013-02-26 21:48:49 -0800
committerChristian Daudt <csd@broadcom.com>2013-04-09 09:18:13 -0700
commitb8eb35fd594aa5b635e329d5c8efab8aaceb8619 (patch)
tree8c664f4d4daabc0a83435ef90cead2eeff751e5b /arch/arm/mach-bcm/Makefile
parent07961ac7c0ee8b546658717034fe692fd12eefa9 (diff)
downloadlinux-b8eb35fd594aa5b635e329d5c8efab8aaceb8619.tar.gz
linux-b8eb35fd594aa5b635e329d5c8efab8aaceb8619.tar.bz2
linux-b8eb35fd594aa5b635e329d5c8efab8aaceb8619.zip
ARM: bcm281xx: Add L2 cache enable code
- Adds a module to provide calls into secure monitor mode - Uses this module to make secure monitor calls to enable L2 cache. Updates from V1: - Split DT portion into separate patch - replace #ifdef-ed L2 code with "if". - move init call to board init Signed-off-by: Christian Daudt <csd@broadcom.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-bcm/Makefile')
-rw-r--r--arch/arm/mach-bcm/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-bcm/Makefile b/arch/arm/mach-bcm/Makefile
index bbf412261e5e..6adb6aecf48f 100644
--- a/arch/arm/mach-bcm/Makefile
+++ b/arch/arm/mach-bcm/Makefile
@@ -10,4 +10,6 @@
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-obj-$(CONFIG_ARCH_BCM) := board_bcm.o
+obj-$(CONFIG_ARCH_BCM) := board_bcm.o bcm_kona_smc.o bcm_kona_smc_asm.o
+plus_sec := $(call as-instr,.arch_extension sec,+sec)
+AFLAGS_bcm_kona_smc_asm.o :=-Wa,-march=armv7-a$(plus_sec)