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 /platform/generic | |
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 'platform/generic')
-rw-r--r-- | platform/generic/configs/defconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/generic/configs/defconfig b/platform/generic/configs/defconfig index 079bc4f..233a9a8 100644 --- a/platform/generic/configs/defconfig +++ b/platform/generic/configs/defconfig @@ -20,6 +20,9 @@ CONFIG_FDT_IRQCHIP=y CONFIG_FDT_IRQCHIP_APLIC=y CONFIG_FDT_IRQCHIP_IMSIC=y CONFIG_FDT_IRQCHIP_PLIC=y +CONFIG_FDT_MAILBOX=y +CONFIG_RPMI_MAILBOX=y +CONFIG_FDT_MAILBOX_RPMI_SHMEM=y CONFIG_FDT_REGMAP=y CONFIG_FDT_REGMAP_SYSCON=y CONFIG_FDT_RESET=y |