lib: open-amp: Add vendor-specific config options

Add config options for vendor-specific resource tables.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2025-06-16 18:22:33 +03:00 committed by Benjamin Cabé
parent 222297ee07
commit 9db96e8a04

View File

@ -1,5 +1,6 @@
#
# Copyright (c) 2020, STMicroelectronics
# Copyright 2025 NXP
#
# SPDX-License-Identifier: Apache-2.0
#
@ -11,6 +12,13 @@ config OPENAMP_RSC_TABLE
add the resource table in the generated binary. This table is
compatible with linux remote proc framework and OpenAMP library.
config OPENAMP_VENDOR_RSC_TABLE
bool "Vendor specific resource table"
depends on OPENAMP_RSC_TABLE
help
Enable vendor-specific resource table with features
supported by remote processor.
config OPENAMP_RSC_TABLE_NUM_RPMSG_BUFF
int "Resource table number of rpmsg buffers"
default 0
@ -47,3 +55,11 @@ config OPENAMP_COPY_RSC_TABLE
This is not needed if the remote loads this firmware and has control
over the placement of the .resource_table section such as remoteproc.
config OPENAMP_VENDOR_RSC_TABLE_FILE
string "Source file containing vendor-specific resource table"
default "resource_table.c"
depends on OPENAMP_VENDOR_RSC_TABLE
help
Name of a source file containing vendor-specific
resource table.