aboutsummaryrefslogtreecommitdiff
path: root/bl31
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2020-11-18 10:17:57 -0600
committerManish Pandey <manish.pandey2@arm.com>2021-05-25 14:49:08 +0200
commit1cdf1eb875ec8622e94493c0a99d21f2e0adeac8 (patch)
tree482f30bd651959de020d9a98c9f7bc2657886b7e /bl31
parentc7a28aa7988be1664a7c06726bd3ff9acfa19e29 (diff)
downloadtrusted-firmware-a-1cdf1eb875ec8622e94493c0a99d21f2e0adeac8.tar.gz
SMCCC/PCI: Handle std svc boilerplate
Add SMC wrappers for handshaking the existence and basic parameter validation for the SMCCC/PCI API. The actual read/write/segment validation is implemented by a given platform which will enable the API by defining SMC_PCI_SUPPORT. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Change-Id: I4485ad0fe6003cec6f5eedef688914d100513c21
Diffstat (limited to 'bl31')
-rw-r--r--bl31/bl31.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/bl31/bl31.mk b/bl31/bl31.mk
index 2088533acd..1fdf545da6 100644
--- a/bl31/bl31.mk
+++ b/bl31/bl31.mk
@@ -95,6 +95,10 @@ BL31_SOURCES += lib/cpus/aarch64/wa_cve_2017_5715_bpiall.S \
lib/cpus/aarch64/wa_cve_2017_5715_mmu.S
endif
+ifeq ($(SMC_PCI_SUPPORT),1)
+BL31_SOURCES += services/std_svc/pci_svc.c
+endif
+
BL31_LINKERFILE := bl31/bl31.ld.S
# Flag used to indicate if Crash reporting via console should be included