]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
remoteproc/davinci: Update Kconfig to depend on DMA_CMA
authorSuman Anna <s-anna@ti.com>
Thu, 18 May 2017 22:08:59 +0000 (17:08 -0500)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 25 Jun 2017 20:59:58 +0000 (13:59 -0700)
commitc51e882cd711abfa11e29f46cd7a73ce41ba1cf4
treeaef8b16af180003389df63e9f007cbe8701a2255
parentca91ab5f112bdcea9516c7ce8f46f4139df69b4a
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>
drivers/remoteproc/Kconfig