]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9763921e77dbf9c7886608fa0c78203ebc459af
treedfc31300570eb86df0ea43153112e071b52d402e
parent7cdf6f672df4284a9dad9f7c6afb866983420a8c
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: Arnd Bergmann <arnd@arndb.de>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Robert Tivy <rtivy@ti.com>
drivers/remoteproc/Kconfig