diff options
author | Suman Anna <s-anna@ti.com> | 2017-05-19 01:08:59 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-06-25 23:59:58 +0300 |
commit | c51e882cd711abfa11e29f46cd7a73ce41ba1cf4 (patch) | |
tree | aef8b16af180003389df63e9f007cbe8701a2255 /drivers/remoteproc/Kconfig | |
parent | ca91ab5f112bdcea9516c7ce8f46f4139df69b4a (diff) | |
download | linux-c51e882cd711abfa11e29f46cd7a73ce41ba1cf4.tar.xz |
remoteproc/davinci: Update Kconfig to depend on DMA_CMA
The davinci remoteproc driver requires a CMA pool for allocating
memory for virtio vrings/buffers and other sections of the firmware
image. The allocations are done using the DMA API. The CMA option is
currently selected automatically on systems with MMU when davinci
remoteproc is enabled, switch this to a saner depends on dependency
convention. The dependency is also updated to use the DMA_CMA kconfig
symbol that is used for CMA allocations using the DMA API, the CMA
dependency is inherited implicitly.
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/Kconfig')
-rw-r--r-- | drivers/remoteproc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index faad69a1a597..0aafb0d0e9fd 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -52,7 +52,7 @@ config DA8XX_REMOTEPROC tristate "DA8xx/OMAP-L13x remoteproc support" depends on ARCH_DAVINCI_DA8XX depends on REMOTEPROC - select CMA if MMU + depends on DMA_CMA select RPMSG_VIRTIO help Say y here to support DA8xx/OMAP-L13x remote processors via the |