diff options
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/config/Config.in.dma | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/target/linux/config/Config.in.dma b/target/linux/config/Config.in.dma index 144fb2d2d..1048666d2 100644 --- a/target/linux/config/Config.in.dma +++ b/target/linux/config/Config.in.dma @@ -6,7 +6,27 @@ config ADK_KERNEL_CMA config ADK_KERNEL_CMA_SIZE_MBYTES int - default 8 + default 256 if ADK_KERNEL_CMA_SIZE_256 + default 128 if ADK_KERNEL_CMA_SIZE_128 + default 64 if ADK_KERNEL_CMA_SIZE_64 + default 8 if ADK_KERNEL_CMA_SIZE_8 + +choice +depends on ADK_KERNEL_CMA + +config ADK_KERNEL_CMA_SIZE_256 + bool + +config ADK_KERNEL_CMA_SIZE_128 + bool + +config ADK_KERNEL_CMA_SIZE_64 + bool + +config ADK_KERNEL_CMA_SIZE_8 + bool + +endchoice config ADK_KERNEL_CMA_SIZE_SEL_MBYTES bool @@ -25,6 +45,7 @@ config ADK_KERNEL_DMA_BCM2708 select ADK_KERNEL_DMADEVICES select ADK_KERNEL_CMA select ADK_KERNEL_CMA_SIZE_SEL_MBYTES + select ADK_KERNEL_CMA_SIZE_128 select ADK_KERNEL_DMA_CMA select ADK_KERNEL_BCM_VC_SM select ADK_KERNEL_BCM_VC_CMA @@ -34,6 +55,9 @@ config ADK_KERNEL_DMA_BCM2708 config ADK_KERNEL_IMX_SDMA bool + select ADK_KERNEL_CMA + select ADK_KERNEL_CMA_SIZE_SEL_MBYTES + select ADK_KERNEL_CMA_SIZE_256 select ADK_KERNEL_DMADEVICES select ADK_KERNEL_FW_LOADER select ADK_KERNEL_FIRMWARE_IN_KERNEL |