zephyr/lib/open-amp/Kconfig
Andre Heinemans ad65b81024 lib: open-amp: optional copy of rsc_table to memory region
Option OPENAMP_COPY_RSC_TABLE is added for cases where the placement of the
.resource_table section is not controlled by the remote. This option lets
zephyr do the copying of the .resource_table section to a specified memory
region.

Signed-off-by: Andre Heinemans <andre.heinemans@nxp.com>
2025-03-24 12:17:53 +01:00

49 lines
1.5 KiB
Plaintext

#
# Copyright (c) 2020, STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
#
config OPENAMP_RSC_TABLE
bool "coprocessor resource table"
imply OPENAMP
help
add the resource table in the generated binary. This table is
compatible with linux remote proc framework and OpenAMP library.
config OPENAMP_RSC_TABLE_NUM_RPMSG_BUFF
int "Resource table number of rpmsg buffers"
default 0
depends on OPENAMP_RSC_TABLE
help
This option specifies the number of buffer used in a Vring for
interprocessor communication
config OPENAMP_RSC_TABLE_IPM_RX_ID
int "IPM RX channel ID"
default 0
depends on OPENAMP_RSC_TABLE
help
This option specifies the IPM RX channel ID used in a VRING
for interprocessor communication
config OPENAMP_RSC_TABLE_IPM_TX_ID
int "IPM TX channel ID"
default 1
depends on OPENAMP_RSC_TABLE
help
This option specifies the IPM TX channel ID used in a VRING
for interprocessor communication
config OPENAMP_COPY_RSC_TABLE
bool "Copy resource table section"
help
The .resource_table section must be placed in a specific location
known by both this core and the remote core. If this is not taken
care of by the remote then this firmware has the ability to copy
the table to a specific location. This memory region can be declared
in the device tree by the "zephyr,ipc_rsc_table" node.
This is not needed if the remote loads this firmware and has control
over the placement of the .resource_table section such as remoteproc.