remoteproc: da8xx: don't select CMA on no-MMU
authorArnd Bergmann <arnd@arndb.de>
Fri, 11 Apr 2014 16:14:26 +0000 (18:14 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 17 Jun 2014 15:09:36 +0000 (17:09 +0200)
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: Arnd Bergmann <arnd@arndb.de>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Robert Tivy <rtivy@ti.com>
drivers/remoteproc/Kconfig

index ce1743d0b6793ab1e7fcd85352b6918cce27773a..5e343bab9458e430f18f54c1be713a0a7686b593 100644 (file)
@@ -44,7 +44,7 @@ config STE_MODEM_RPROC
 config DA8XX_REMOTEPROC
        tristate "DA8xx/OMAP-L13x remoteproc support"
        depends on ARCH_DAVINCI_DA8XX
-       select CMA
+       select CMA if MMU
        select REMOTEPROC
        select RPMSG
        help
This page took 0.025127 seconds and 5 git commands to generate.