[PATCH v1 0/2] Introduce Meson SM driver
Alexey Romanov
avromanov at sberdevices.ru
Thu Jul 6 13:20:18 CEST 2023
Hello!
This patchset adds Meson Secure Monitor driver, which export following
generic API:
- sm_call_read()
- sm_call_write()
- sm_call()
Also, now use this new API in arch/arm/mach-meson/sm.c helper functions.
Alexey Romanov (2):
drivers: firmware: introduce Meson Secure Monitor driver
asm/arch: mach-meson: use secure monitor driver
arch/arm/mach-meson/Kconfig | 1 +
arch/arm/mach-meson/sm.c | 161 +++++++++++++---------
drivers/firmware/Kconfig | 10 ++
drivers/firmware/Makefile | 1 +
drivers/firmware/meson/Kconfig | 6 +
drivers/firmware/meson/Makefile | 3 +
drivers/firmware/meson/meson_sm.c | 217 ++++++++++++++++++++++++++++++
include/meson/sm_handle.h | 38 ++++++
8 files changed, 373 insertions(+), 64 deletions(-)
create mode 100644 drivers/firmware/meson/Kconfig
create mode 100644 drivers/firmware/meson/Makefile
create mode 100644 drivers/firmware/meson/meson_sm.c
create mode 100644 include/meson/sm_handle.h
--
2.38.1
More information about the U-Boot
mailing list