diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
| commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
| tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /drivers/base/Kconfig | |
| parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) | |
Patched in Tegra support.
Diffstat (limited to 'drivers/base/Kconfig')
| -rw-r--r-- | drivers/base/Kconfig | 101 |
1 files changed, 2 insertions, 99 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index c8b453939da..8a0e87fd906 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig | |||
| @@ -57,7 +57,7 @@ config DEVTMPFS_MOUNT | |||
| 57 | on the rootfs is completely empty. | 57 | on the rootfs is completely empty. |
| 58 | 58 | ||
| 59 | config STANDALONE | 59 | config STANDALONE |
| 60 | bool "Select only drivers that don't need compile-time external firmware" | 60 | bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL |
| 61 | default y | 61 | default y |
| 62 | help | 62 | help |
| 63 | Select this option if you don't have magic firmware for drivers that | 63 | Select this option if you don't have magic firmware for drivers that |
| @@ -172,17 +172,10 @@ config SYS_HYPERVISOR | |||
| 172 | bool | 172 | bool |
| 173 | default n | 173 | default n |
| 174 | 174 | ||
| 175 | config GENERIC_CPU_DEVICES | ||
| 176 | bool | ||
| 177 | default n | ||
| 178 | |||
| 179 | config SOC_BUS | ||
| 180 | bool | ||
| 181 | |||
| 182 | source "drivers/base/regmap/Kconfig" | 175 | source "drivers/base/regmap/Kconfig" |
| 183 | 176 | ||
| 184 | config DMA_SHARED_BUFFER | 177 | config DMA_SHARED_BUFFER |
| 185 | bool | 178 | bool "Buffer framework to be shared between drivers" |
| 186 | default n | 179 | default n |
| 187 | select ANON_INODES | 180 | select ANON_INODES |
| 188 | help | 181 | help |
| @@ -191,94 +184,4 @@ config DMA_SHARED_BUFFER | |||
| 191 | APIs extension; the file's descriptor can then be passed on to other | 184 | APIs extension; the file's descriptor can then be passed on to other |
| 192 | driver. | 185 | driver. |
| 193 | 186 | ||
| 194 | config CMA | ||
| 195 | bool "Contiguous Memory Allocator" | ||
| 196 | depends on HAVE_DMA_CONTIGUOUS && HAVE_MEMBLOCK | ||
| 197 | select MIGRATION | ||
| 198 | select MEMORY_ISOLATION | ||
| 199 | help | ||
| 200 | This enables the Contiguous Memory Allocator which allows drivers | ||
| 201 | to allocate big physically-contiguous blocks of memory for use with | ||
| 202 | hardware components that do not support I/O map nor scatter-gather. | ||
| 203 | |||
| 204 | For more information see <include/linux/dma-contiguous.h>. | ||
| 205 | If unsure, say "n". | ||
| 206 | |||
| 207 | if CMA | ||
| 208 | |||
| 209 | config CMA_DEBUG | ||
| 210 | bool "CMA debug messages (DEVELOPMENT)" | ||
| 211 | depends on DEBUG_KERNEL | ||
| 212 | help | ||
| 213 | Turns on debug messages in CMA. This produces KERN_DEBUG | ||
| 214 | messages for every CMA call as well as various messages while | ||
| 215 | processing calls such as dma_alloc_from_contiguous(). | ||
| 216 | This option does not affect warning and error messages. | ||
| 217 | |||
| 218 | comment "Default contiguous memory area size:" | ||
| 219 | |||
| 220 | config CMA_SIZE_MBYTES | ||
| 221 | int "Size in Mega Bytes" | ||
| 222 | depends on !CMA_SIZE_SEL_PERCENTAGE | ||
| 223 | default 16 | ||
| 224 | help | ||
| 225 | Defines the size (in MiB) of the default memory area for Contiguous | ||
| 226 | Memory Allocator. | ||
| 227 | |||
| 228 | config CMA_SIZE_PERCENTAGE | ||
| 229 | int "Percentage of total memory" | ||
| 230 | depends on !CMA_SIZE_SEL_MBYTES | ||
| 231 | default 10 | ||
| 232 | help | ||
| 233 | Defines the size of the default memory area for Contiguous Memory | ||
| 234 | Allocator as a percentage of the total memory in the system. | ||
| 235 | |||
| 236 | choice | ||
| 237 | prompt "Selected region size" | ||
| 238 | default CMA_SIZE_SEL_MBYTES | ||
| 239 | |||
| 240 | config CMA_SIZE_SEL_MBYTES | ||
| 241 | bool "Use mega bytes value only" | ||
| 242 | |||
| 243 | config CMA_SIZE_SEL_PERCENTAGE | ||
| 244 | bool "Use percentage value only" | ||
| 245 | |||
| 246 | config CMA_SIZE_SEL_MIN | ||
| 247 | bool "Use lower value (minimum)" | ||
| 248 | |||
| 249 | config CMA_SIZE_SEL_MAX | ||
| 250 | bool "Use higher value (maximum)" | ||
| 251 | |||
| 252 | endchoice | ||
| 253 | |||
| 254 | config CMA_ALIGNMENT | ||
| 255 | int "Maximum PAGE_SIZE order of alignment for contiguous buffers" | ||
| 256 | range 4 9 | ||
| 257 | default 8 | ||
| 258 | help | ||
| 259 | DMA mapping framework by default aligns all buffers to the smallest | ||
| 260 | PAGE_SIZE order which is greater than or equal to the requested buffer | ||
| 261 | size. This works well for buffers up to a few hundreds kilobytes, but | ||
| 262 | for larger buffers it just a memory waste. With this parameter you can | ||
| 263 | specify the maximum PAGE_SIZE order for contiguous buffers. Larger | ||
| 264 | buffers will be aligned only to this specified order. The order is | ||
| 265 | expressed as a power of two multiplied by the PAGE_SIZE. | ||
| 266 | |||
| 267 | For example, if your system defaults to 4KiB pages, the order value | ||
| 268 | of 8 means that the buffers will be aligned up to 1MiB only. | ||
| 269 | |||
| 270 | If unsure, leave the default value "8". | ||
| 271 | |||
| 272 | config CMA_AREAS | ||
| 273 | int "Maximum count of the CMA device-private areas" | ||
| 274 | default 7 | ||
| 275 | help | ||
| 276 | CMA allows to create CMA areas for particular devices. This parameter | ||
| 277 | sets the maximum number of such device private CMA areas in the | ||
| 278 | system. | ||
| 279 | |||
| 280 | If unsure, leave the default value "7". | ||
| 281 | |||
| 282 | endif | ||
| 283 | |||
| 284 | endmenu | 187 | endmenu |
