summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-02-06 16:06:53 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-02-08 09:18:57 +0100
commitcdf33e6ecf4ca724d8be64fefbc4896eb8baf046 (patch)
treeff93b4f5fae059ed5249112193b68e5bc9bc8833 /arch/arm/cpu/Makefile
parentb94205dc97cf2f794cef89512fb2e7f568def4d5 (diff)
downloadbarebox-cdf33e6ecf4ca724d8be64fefbc4896eb8baf046.tar.gz
barebox-cdf33e6ecf4ca724d8be64fefbc4896eb8baf046.tar.xz
ARM: Add smc call support
Taken from the Kernel: A wrapper to make a smc call from C. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu/Makefile')
-rw-r--r--arch/arm/cpu/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile
index d8cb1871a6..e542f1741a 100644
--- a/arch/arm/cpu/Makefile
+++ b/arch/arm/cpu/Makefile
@@ -34,6 +34,8 @@ ifeq ($(CONFIG_MMU),)
obj-y += no-mmu.o
endif
+obj-$(CONFIG_ARM_SECURE_MONITOR) += smccc-call.o
+
obj-$(CONFIG_CPU_32v4T) += cache-armv4.o
pbl-$(CONFIG_CPU_32v4T) += cache-armv4.o
obj-$(CONFIG_CPU_32v5) += cache-armv5.o