diff options
-rw-r--r-- | cfg/cma/cma_y.cfg | 21 | ||||
-rw-r--r-- | cfg/cma/cma_y.scc | 4 |
2 files changed, 25 insertions, 0 deletions
diff --git a/cfg/cma/cma_y.cfg b/cfg/cma/cma_y.cfg new file mode 100644 index 0000000..f502d05 --- /dev/null +++ b/cfg/cma/cma_y.cfg | |||
@@ -0,0 +1,21 @@ | |||
1 | CONFIG_MEMORY_ISOLATION=y | ||
2 | CONFIG_CMA=y | ||
3 | CONFIG_CMA_DEBUG=y | ||
4 | CONFIG_CMA_AREAS=7 | ||
5 | CONFIG_ZSMALLOC=m | ||
6 | # CONFIG_CMA_DEBUGFS is not set | ||
7 | # CONFIG_PGTABLE_MAPPING is not set | ||
8 | # CONFIG_ZSMALLOC_STAT is not set | ||
9 | # CONFIG_ZRAM is not set | ||
10 | CONFIG_ARCH_HAS_GIGANTIC_PAGE=y | ||
11 | CONFIG_DMA_CMA=y | ||
12 | # | ||
13 | # Default contiguous memory area size: | ||
14 | # | ||
15 | CONFIG_CMA_SIZE_MBYTES=256 | ||
16 | CONFIG_CMA_SIZE_SEL_MBYTES=y | ||
17 | # CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set | ||
18 | # CONFIG_CMA_SIZE_SEL_MIN is not set | ||
19 | # CONFIG_CMA_SIZE_SEL_MAX is not set | ||
20 | CONFIG_CMA_ALIGNMENT=8 | ||
21 | |||
diff --git a/cfg/cma/cma_y.scc b/cfg/cma/cma_y.scc new file mode 100644 index 0000000..be4797f --- /dev/null +++ b/cfg/cma/cma_y.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable CMA" | ||
2 | define KFEATURE_COMPATIBILITY all | ||
3 | |||
4 | kconf non-hardware cma_y.cfg | ||