zephyr/lib/open-amp/Kconfig
Carlo Caione d540cf8877 openamp: Add new Kconfig option to enable dcache
Currently OpenAMP is unconditionally compiled with the options to use
the vrings cache operations disabled.

Add a new CONFIG_OPENAMP_WITH_DCACHE Kconfig option to enable the
support for d-cache operations in OpenAMP when needed.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2022-12-12 18:41:01 +01:00

28 lines
720 B
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_WITH_DCACHE
bool "Build OpenAMP with vrings cache operations enabled"
default y
depends on CACHE_MANAGEMENT
help
Build OpenAMP with vrings cache operations enabled.