openamp: fix CMake dcache option

OpenAMP 2025.10.0 removed the deprecated WITH_DCACHE_VRINGS, WITH_DCACHE_BUFFERS and WITH_DCACHE_RSC_TABLE CMake options. The replacement is WITH_DCACHE, which enables VIRTIO_USE_DCACHE for vrings, buffers and resource table cache operations.

Use WITH_DCACHE for CONFIG_OPENAMP_CACHE in the CMake integration so the CMake build matches the Makefile path, which already defines VIRTIO_USE_DCACHE directly.

Signed-off-by: yaojiaqi <yaojiaqi@lixiang.com>
This commit is contained in:
yaojiaqi 2026-05-09 13:16:49 +08:00 committed by simbit18
parent 382bb5e874
commit b17e4488d6

View file

@ -87,7 +87,7 @@ if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/open-amp)
endif()
if(CONFIG_OPENAMP_CACHE)
set(WITH_DCACHE_VRINGS ON)
set(WITH_DCACHE ON)
endif()
if(CONFIG_OPENAMP_DEBUG)