Commit 8c094524 authored by Arnd Bergmann's avatar Arnd Bergmann

remoteproc: da8xx: don't select CMA on no-MMU

We can only use CMA on systems that have an MMU, because of
the requirement to use memory migration. NOMMU systems are
rather constrained to start with, but it seems reasonable
to assume that DMA allocations can still succeed in the
constrained case for remoteproc on NOMMU, so this patch
changes the da8xx implementation to not rely on CMA when
the MMU is disabled.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Robert Tivy <rtivy@ti.com>
parent 30b6f37d
...@@ -44,7 +44,7 @@ config STE_MODEM_RPROC ...@@ -44,7 +44,7 @@ config STE_MODEM_RPROC
config DA8XX_REMOTEPROC config DA8XX_REMOTEPROC
tristate "DA8xx/OMAP-L13x remoteproc support" tristate "DA8xx/OMAP-L13x remoteproc support"
depends on ARCH_DAVINCI_DA8XX depends on ARCH_DAVINCI_DA8XX
select CMA select CMA if MMU
select REMOTEPROC select REMOTEPROC
select RPMSG select RPMSG
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment