[PATCH 1/1] arm-bsp/linux: corstone1000: Enable CMA for Ethos-U

Harsimran Singh Tungal <[email protected]>
Newsgroups org.yoctoproject.lists.meta-arm
Message-ID <[email protected]>
Enable CMA in the Corstone-1000 Ethos-U kernel configuration. Larger
Teflon model tests require reliable contiguous buffer allocation and
relies on kernel CMA support.

Signed-off-by: Harsimran Singh Tungal <[email protected]>
---
 meta-arm-bsp/recipes-kernel/linux/files/corstone1000/ethosu.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-arm-bsp/recipes-kernel/linux/files/corstone1000/ethosu.cfg b/meta-arm-bsp/recipes-kernel/linux/files/corstone1000/ethosu.cfg
index aee5312c..5fc75d52 100644
--- a/meta-arm-bsp/recipes-kernel/linux/files/corstone1000/ethosu.cfg
+++ b/meta-arm-bsp/recipes-kernel/linux/files/corstone1000/ethosu.cfg
@@ -1,4 +1,6 @@
 CONFIG_SRAM=y
+CONFIG_CMA=y
+CONFIG_DMA_CMA=y
 CONFIG_DRM=y
 CONFIG_DRM_ACCEL=y
 CONFIG_DRM_ACCEL_ARM_ETHOSU=y
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.