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 /lib/Kconfig | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 143 |
1 files changed, 9 insertions, 134 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 75cdb77fa49..6c695ff9cab 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
@@ -16,35 +16,9 @@ config BITREVERSE | |||
16 | config RATIONAL | 16 | config RATIONAL |
17 | boolean | 17 | boolean |
18 | 18 | ||
19 | config GENERIC_STRNCPY_FROM_USER | ||
20 | bool | ||
21 | |||
22 | config GENERIC_STRNLEN_USER | ||
23 | bool | ||
24 | |||
25 | config GENERIC_FIND_FIRST_BIT | 19 | config GENERIC_FIND_FIRST_BIT |
26 | bool | 20 | bool |
27 | 21 | ||
28 | config NO_GENERIC_PCI_IOPORT_MAP | ||
29 | bool | ||
30 | |||
31 | config GENERIC_PCI_IOMAP | ||
32 | bool | ||
33 | |||
34 | config GENERIC_IOMAP | ||
35 | bool | ||
36 | select GENERIC_PCI_IOMAP | ||
37 | |||
38 | config GENERIC_IO | ||
39 | boolean | ||
40 | default n | ||
41 | |||
42 | config STMP_DEVICE | ||
43 | bool | ||
44 | |||
45 | config PERCPU_RWSEM | ||
46 | boolean | ||
47 | |||
48 | config CRC_CCITT | 22 | config CRC_CCITT |
49 | tristate "CRC-CCITT functions" | 23 | tristate "CRC-CCITT functions" |
50 | help | 24 | help |
@@ -77,71 +51,14 @@ config CRC_ITU_T | |||
77 | functions require M here. | 51 | functions require M here. |
78 | 52 | ||
79 | config CRC32 | 53 | config CRC32 |
80 | tristate "CRC32/CRC32c functions" | 54 | tristate "CRC32 functions" |
81 | default y | 55 | default y |
82 | select BITREVERSE | 56 | select BITREVERSE |
83 | help | 57 | help |
84 | This option is provided for the case where no in-kernel-tree | 58 | This option is provided for the case where no in-kernel-tree |
85 | modules require CRC32/CRC32c functions, but a module built outside | 59 | modules require CRC32 functions, but a module built outside the |
86 | the kernel tree does. Such modules that use library CRC32/CRC32c | 60 | kernel tree does. Such modules that use library CRC32 functions |
87 | functions require M here. | 61 | require M here. |
88 | |||
89 | config CRC32_SELFTEST | ||
90 | bool "CRC32 perform self test on init" | ||
91 | default n | ||
92 | depends on CRC32 | ||
93 | help | ||
94 | This option enables the CRC32 library functions to perform a | ||
95 | self test on initialization. The self test computes crc32_le | ||
96 | and crc32_be over byte strings with random alignment and length | ||
97 | and computes the total elapsed time and number of bytes processed. | ||
98 | |||
99 | choice | ||
100 | prompt "CRC32 implementation" | ||
101 | depends on CRC32 | ||
102 | default CRC32_SLICEBY8 | ||
103 | help | ||
104 | This option allows a kernel builder to override the default choice | ||
105 | of CRC32 algorithm. Choose the default ("slice by 8") unless you | ||
106 | know that you need one of the others. | ||
107 | |||
108 | config CRC32_SLICEBY8 | ||
109 | bool "Slice by 8 bytes" | ||
110 | help | ||
111 | Calculate checksum 8 bytes at a time with a clever slicing algorithm. | ||
112 | This is the fastest algorithm, but comes with a 8KiB lookup table. | ||
113 | Most modern processors have enough cache to hold this table without | ||
114 | thrashing the cache. | ||
115 | |||
116 | This is the default implementation choice. Choose this one unless | ||
117 | you have a good reason not to. | ||
118 | |||
119 | config CRC32_SLICEBY4 | ||
120 | bool "Slice by 4 bytes" | ||
121 | help | ||
122 | Calculate checksum 4 bytes at a time with a clever slicing algorithm. | ||
123 | This is a bit slower than slice by 8, but has a smaller 4KiB lookup | ||
124 | table. | ||
125 | |||
126 | Only choose this option if you know what you are doing. | ||
127 | |||
128 | config CRC32_SARWATE | ||
129 | bool "Sarwate's Algorithm (one byte at a time)" | ||
130 | help | ||
131 | Calculate checksum a byte at a time using Sarwate's algorithm. This | ||
132 | is not particularly fast, but has a small 256 byte lookup table. | ||
133 | |||
134 | Only choose this option if you know what you are doing. | ||
135 | |||
136 | config CRC32_BIT | ||
137 | bool "Classic Algorithm (one bit at a time)" | ||
138 | help | ||
139 | Calculate checksum one bit at a time. This is VERY slow, but has | ||
140 | no lookup table. This is provided as a debugging option. | ||
141 | |||
142 | Only choose this option if you are debugging crc32. | ||
143 | |||
144 | endchoice | ||
145 | 62 | ||
146 | config CRC7 | 63 | config CRC7 |
147 | tristate "CRC7 functions" | 64 | tristate "CRC7 functions" |
@@ -297,7 +214,6 @@ config BTREE | |||
297 | config HAS_IOMEM | 214 | config HAS_IOMEM |
298 | boolean | 215 | boolean |
299 | depends on !NO_IOMEM | 216 | depends on !NO_IOMEM |
300 | select GENERIC_IO | ||
301 | default y | 217 | default y |
302 | 218 | ||
303 | config HAS_IOPORT | 219 | config HAS_IOPORT |
@@ -328,9 +244,6 @@ config CPU_RMAP | |||
328 | bool | 244 | bool |
329 | depends on SMP | 245 | depends on SMP |
330 | 246 | ||
331 | config DQL | ||
332 | bool | ||
333 | |||
334 | # | 247 | # |
335 | # Netlink attribute parsing support is select'ed if needed | 248 | # Netlink attribute parsing support is select'ed if needed |
336 | # | 249 | # |
@@ -343,9 +256,6 @@ config NLATTR | |||
343 | config GENERIC_ATOMIC64 | 256 | config GENERIC_ATOMIC64 |
344 | bool | 257 | bool |
345 | 258 | ||
346 | config ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE | ||
347 | def_bool y if GENERIC_ATOMIC64 | ||
348 | |||
349 | config LRU_CACHE | 259 | config LRU_CACHE |
350 | tristate | 260 | tristate |
351 | 261 | ||
@@ -359,49 +269,14 @@ config AVERAGE | |||
359 | 269 | ||
360 | If unsure, say N. | 270 | If unsure, say N. |
361 | 271 | ||
362 | config CLZ_TAB | ||
363 | bool | ||
364 | |||
365 | config CORDIC | 272 | config CORDIC |
366 | tristate "CORDIC algorithm" | 273 | tristate "Cordic function" |
367 | help | 274 | help |
368 | This option provides an implementation of the CORDIC algorithm; | 275 | The option provides arithmetic function using cordic algorithm |
369 | calculations are in fixed point. Module will be called cordic. | 276 | so its calculations are in fixed point. Modules can select this |
277 | when they require this function. Module will be called cordic. | ||
370 | 278 | ||
371 | config DDR | 279 | config LLIST |
372 | bool "JEDEC DDR data" | ||
373 | help | ||
374 | Data from JEDEC specs for DDR SDRAM memories, | ||
375 | particularly the AC timing parameters and addressing | ||
376 | information. This data is useful for drivers handling | ||
377 | DDR SDRAM controllers. | ||
378 | |||
379 | config MPILIB | ||
380 | tristate | ||
381 | select CLZ_TAB | ||
382 | help | ||
383 | Multiprecision maths library from GnuPG. | ||
384 | It is used to implement RSA digital signature verification, | ||
385 | which is used by IMA/EVM digital signature extension. | ||
386 | |||
387 | config SIGNATURE | ||
388 | tristate | ||
389 | depends on KEYS && CRYPTO | ||
390 | select CRYPTO_SHA1 | ||
391 | select MPILIB | ||
392 | help | ||
393 | Digital signature verification. Currently only RSA is supported. | ||
394 | Implementation is done using GnuPG MPI library | ||
395 | |||
396 | # | ||
397 | # libfdt files, only selected if needed. | ||
398 | # | ||
399 | config LIBFDT | ||
400 | bool | 280 | bool |
401 | 281 | ||
402 | config OID_REGISTRY | ||
403 | tristate | ||
404 | help | ||
405 | Enable fast lookup object identifier registry. | ||
406 | |||
407 | endmenu | 282 | endmenu |