]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm_ffa: introduce sandbox FF-A support
authorAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Fri, 4 Aug 2023 13:33:41 +0000 (14:33 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 8 Aug 2023 14:22:03 +0000 (10:22 -0400)
commita09852d862bc203b80368ca671ff36e80bcb510f
tree5f998e272573c29fc5f83c9a9c5bac3d55c26fd5
parent39d383bdace4b39b10665c7df2f1ef17399f6f1e
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 <abdellatif.elkhlifi@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: Jens Wiklander <jens.wiklander@linaro.org>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
15 files changed:
MAINTAINERS
arch/sandbox/dts/sandbox.dtsi
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/sandbox_arm_ffa.h [new file with mode: 0644]
arch/sandbox/include/asm/sandbox_arm_ffa_priv.h [new file with mode: 0644]
configs/sandbox64_defconfig
configs/sandbox_defconfig
doc/arch/arm64.ffa.rst
doc/arch/sandbox/sandbox.rst
drivers/firmware/arm-ffa/Kconfig
drivers/firmware/arm-ffa/Makefile
drivers/firmware/arm-ffa/ffa-emul-uclass.c [new file with mode: 0644]
drivers/firmware/arm-ffa/sandbox_arm_ffa_priv.h [deleted file]
drivers/firmware/arm-ffa/sandbox_ffa.c [new file with mode: 0644]
include/dm/uclass-id.h