diff options
author | Rahul Pathak <rpathak@ventanamicro.com> | 2024-08-06 10:07:33 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-12-06 09:26:21 +0530 |
commit | 91f46fb47eefb872a7981935fbcc125226e93eca (patch) | |
tree | 370ae962582d4741b1947a1da7fcd01b13db2d49 /lib/utils/mailbox/Kconfig | |
parent | 2244a34f0d618c6f18c161b6448af1eecc7f72ab (diff) | |
download | opensbi-91f46fb47eefb872a7981935fbcc125226e93eca.zip opensbi-91f46fb47eefb872a7981935fbcc125226e93eca.tar.gz opensbi-91f46fb47eefb872a7981935fbcc125226e93eca.tar.bz2 |
lib/utils: Add RPMI messaging protocol and shared memory transport support
The RISC-V Platform Management Interface (RPMI) defines a messaging protocol
and shared memory based transport for bi-directional communication with an
on-chip or external microcontroller.
To support RPMI in OpenSBI, add:
1) The RPMI messaging protocol defines and helper macros
2) A FDT mailbox driver for the RPMI shared memory transport
Signed-off-by: Rahul Pathak <rpathak@ventanamicro.com>
Co-developed-by: Subrahmanya Lingappa <slingappa@ventanamicro.com>
Signed-off-by: Subrahmanya Lingappa <slingappa@ventanamicro.com>
Co-developed-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Diffstat (limited to 'lib/utils/mailbox/Kconfig')
-rw-r--r-- | lib/utils/mailbox/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/utils/mailbox/Kconfig b/lib/utils/mailbox/Kconfig index 3957bfb..6e7f2cd 100644 --- a/lib/utils/mailbox/Kconfig +++ b/lib/utils/mailbox/Kconfig @@ -8,8 +8,22 @@ config FDT_MAILBOX select MAILBOX default n +config RPMI_MAILBOX + bool "RPMI based mailbox drivers" + select MAILBOX + default n + config MAILBOX bool "Mailbox support" default n +if FDT_MAILBOX + +config FDT_MAILBOX_RPMI_SHMEM + bool "RPMI Shared Memory Mailbox Controller" + depends on RPMI_MAILBOX + default n + +endif + endmenu |