Currently, Zephyr is always sending back notifications to AP (e.g Linux in our case) on channel 0. But this currently doesn't work if Linux uses other channel id for communication. So, add option to use predefined vring ID that can accomodate Linux used ID. Signed-off-by: Alexandru Lastur <alexandru.lastur@nxp.com>
36 lines
950 B
Text
36 lines
950 B
Text
#
|
|
# 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
|