Hi, On Thu, 21 Sep 2023 11:13:33 +0300, Alexey Romanov wrote: > At the moment, there is no single general approach to using > secure monitor in U-Boot, there is only the smc_call() function, > over which everyone builds their own add-ons. This patchset > is designed to solve this problem by adding a new uclass - > SM_UCLASS. This UCLASS export following generic API: > > 1. sm_call() - generic SMC call to the secure-monitor > 2. sm_call_read() - retrieve data from secure-monitor > 3. sm_call_write() - send data to secure-monitor > > [...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic-next) [1/8] drivers: introduce Secure Monitor uclass https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/126fbbefd89e0baa7e1a8ecdc4e00b9ff9e776ea [2/8] sandbox: add sandbox sm uclass driver https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/ac830089c0075d1f6ee51e22d51244f7f1a2554f [3/8] sandbox: dts: add meson secure monitor node https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/0b488d719015c3b77685dd116a0095b4677e84a3 [4/8] sandbox: add tests for UCLASS_SM https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/80da22b9e45d2cd7d1eaed4e94724def7d4c7970 [5/8] sandbox: defconfig: enable CONFIG_SM option https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/b655672dabcf4f6f5ffe2fb92abd447ea0a20101 [6/8] drivers: introduce Meson Secure Monitor driver https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/e7c31d9ee0606dc52a15eb6e8ef5e46978608681 [7/8] arch: meson: sm: set correct order of the includes https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/a0fe285b1f625ff872b1cb8c79abb072cc154ece [8/8] arch: meson: use secure monitor driver https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/4908461153e8b194703c5ae757a5032df3af2c50 -- Neil