]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm_ffa: introduce sandbox FF-A support
authorAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Thu, 13 Jul 2023 13:28:43 +0000 (14:28 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 24 Jul 2023 19:30:03 +0000 (15:30 -0400)
commit32dd07ff46194d29052991f3e6f67ab6ca5fe831
treeb77c4568af40e75c745fa48165058eabd5c11923
parente785db9277edc023be8d547eface0c77bd774054
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