summaryrefslogtreecommitdiff
path: root/drivers/firmware/arm-ffa/Makefile
diff options
context:
space:
mode:
authorAbdellatif El Khlifi <[email protected]>2023-08-04 14:33:41 +0100
committerTom Rini <[email protected]>2023-08-08 10:22:03 -0400
commita09852d862bc203b80368ca671ff36e80bcb510f (patch)
tree5f998e272573c29fc5f83c9a9c5bac3d55c26fd5 /drivers/firmware/arm-ffa/Makefile
parent39d383bdace4b39b10665c7df2f1ef17399f6f1e (diff)
arm_ffa: introduce sandbox FF-A support
Emulate Secure World's FF-A ABIs and allow testing U-Boot FF-A support Features of the sandbox FF-A support: - Introduce an FF-A emulator - Introduce an FF-A device driver for FF-A comms with emulated Secure World - Provides test methods allowing to read the status of the inspected ABIs The sandbox FF-A emulator supports only 64-bit direct messaging. Signed-off-by: Abdellatif El Khlifi <[email protected]> Reviewed-by: Simon Glass <[email protected]> Cc: Tom Rini <[email protected]> Cc: Ilias Apalodimas <[email protected]> Cc: Jens Wiklander <[email protected]> Cc: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'drivers/firmware/arm-ffa/Makefile')
-rw-r--r--drivers/firmware/arm-ffa/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/firmware/arm-ffa/Makefile b/drivers/firmware/arm-ffa/Makefile
index 11b17662853..318123a7f42 100644
--- a/drivers/firmware/arm-ffa/Makefile
+++ b/drivers/firmware/arm-ffa/Makefile
@@ -5,4 +5,12 @@
# Authors:
# Abdellatif El Khlifi <[email protected]>
-obj-y += arm-ffa-uclass.o arm-ffa.o
+# build the generic FF-A methods
+obj-y += arm-ffa-uclass.o
+ifeq ($(CONFIG_SANDBOX),y)
+# build the FF-A sandbox emulator and driver
+obj-y += ffa-emul-uclass.o sandbox_ffa.o
+else
+# build the Arm64 FF-A driver
+obj-y += arm-ffa.o
+endif