From: Arnd Bergmann Date: Fri, 11 Apr 2014 16:14:26 +0000 (+0200) Subject: remoteproc: da8xx: don't select CMA on no-MMU X-Git-Tag: v3.16-rc2~18^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c0945240e2449b47ba49754ee3e06ef4746226f;p=profile%2Fcommon%2Fplatform%2Fkernel%2Flinux-artik7.git 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 Cc: Ohad Ben-Cohen Cc: Robert Tivy --- diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index ce1743d..5e343ba 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -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