diff options
Diffstat (limited to 'drivers/base/Kconfig')
-rw-r--r-- | drivers/base/Kconfig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index df04227d00cf..98504ec99c7d 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig | |||
@@ -267,18 +267,24 @@ comment "Default contiguous memory area size:" | |||
267 | config CMA_SIZE_MBYTES | 267 | config CMA_SIZE_MBYTES |
268 | int "Size in Mega Bytes" | 268 | int "Size in Mega Bytes" |
269 | depends on !CMA_SIZE_SEL_PERCENTAGE | 269 | depends on !CMA_SIZE_SEL_PERCENTAGE |
270 | default 0 if X86 | ||
270 | default 16 | 271 | default 16 |
271 | help | 272 | help |
272 | Defines the size (in MiB) of the default memory area for Contiguous | 273 | Defines the size (in MiB) of the default memory area for Contiguous |
273 | Memory Allocator. | 274 | Memory Allocator. If the size of 0 is selected, CMA is disabled by |
275 | default, but it can be enabled by passing cma=size[MG] to the kernel. | ||
276 | |||
274 | 277 | ||
275 | config CMA_SIZE_PERCENTAGE | 278 | config CMA_SIZE_PERCENTAGE |
276 | int "Percentage of total memory" | 279 | int "Percentage of total memory" |
277 | depends on !CMA_SIZE_SEL_MBYTES | 280 | depends on !CMA_SIZE_SEL_MBYTES |
281 | default 0 if X86 | ||
278 | default 10 | 282 | default 10 |
279 | help | 283 | help |
280 | Defines the size of the default memory area for Contiguous Memory | 284 | Defines the size of the default memory area for Contiguous Memory |
281 | Allocator as a percentage of the total memory in the system. | 285 | Allocator as a percentage of the total memory in the system. |
286 | If 0 percent is selected, CMA is disabled by default, but it can be | ||
287 | enabled by passing cma=size[MG] to the kernel. | ||
282 | 288 | ||
283 | choice | 289 | choice |
284 | prompt "Selected region size" | 290 | prompt "Selected region size" |