aboutsummaryrefslogtreecommitdiff
path: root/drivers/Kconfig
diff options
context:
space:
mode:
authorAlexey Romanov <avromanov@salutedevices.com>2023-09-21 11:13:34 +0300
committerNeil Armstrong <neil.armstrong@linaro.org>2023-10-15 12:23:48 +0200
commitc52cd07407af6467d68f1ed9dd180fb72bbf0313 (patch)
treee5cc8087f0a6a756c05311aa65ef82e230581c0e /drivers/Kconfig
parenta92345610ed3596bc25de08b17cb29c86b508e6c (diff)
downloadu-boot-c52cd07407af6467d68f1ed9dd180fb72bbf0313.zip
u-boot-c52cd07407af6467d68f1ed9dd180fb72bbf0313.tar.gz
u-boot-c52cd07407af6467d68f1ed9dd180fb72bbf0313.tar.bz2
drivers: introduce Secure Monitor uclass
At the moment, we don't have a common API for working with SM, only the smc_call() function. This approach is not generic and difficult to configure and maintain. This patch adds UCLASS_SM with the generic API: - sm_call() - sm_call_write() - sm_call_read() These functions operate with struct pt_regs, which describes Secure Monitor arguments. Signed-off-by: Alexey Romanov <avromanov@salutedevices.com> Reviewed-by: Simon Glass <sjg@chromium.org> Link: https://lore.kernel.org/r/20230921081346.22157-2-avromanov@salutedevices.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'drivers/Kconfig')
-rw-r--r--drivers/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/Kconfig b/drivers/Kconfig
index a25f6ae..a073230 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -118,6 +118,8 @@ source "drivers/scsi/Kconfig"
source "drivers/serial/Kconfig"
+source "drivers/sm/Kconfig"
+
source "drivers/smem/Kconfig"
source "drivers/sound/Kconfig"