From 9db96e8a04a3fe5778ffefb51d02b047de9d6bf6 Mon Sep 17 00:00:00 2001 From: Iuliana Prodan Date: Mon, 16 Jun 2025 18:22:33 +0300 Subject: [PATCH] lib: open-amp: Add vendor-specific config options Add config options for vendor-specific resource tables. Signed-off-by: Iuliana Prodan --- lib/open-amp/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lib/open-amp/Kconfig b/lib/open-amp/Kconfig index 50cc33adf0e..82085fc2164 100644 --- a/lib/open-amp/Kconfig +++ b/lib/open-amp/Kconfig @@ -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.