Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see Documentation/kbuild/kconfig-language.txt. |
| 4 | # |
| 5 | |
Mike Frysinger | 53f8a25 | 2007-11-15 15:48:01 +0800 | [diff] [blame] | 6 | mainmenu "Blackfin Kernel Configuration" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 7 | |
| 8 | config MMU |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 9 | def_bool n |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 10 | |
| 11 | config FPU |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 12 | def_bool n |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 13 | |
| 14 | config RWSEM_GENERIC_SPINLOCK |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 15 | def_bool y |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 16 | |
| 17 | config RWSEM_XCHGADD_ALGORITHM |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 18 | def_bool n |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 19 | |
| 20 | config BLACKFIN |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 21 | def_bool y |
Sam Ravnborg | ec7748b | 2008-02-09 10:46:40 +0100 | [diff] [blame] | 22 | select HAVE_IDE |
Mike Frysinger | 538067c | 2009-06-07 03:47:01 -0400 | [diff] [blame] | 23 | select HAVE_KERNEL_GZIP |
| 24 | select HAVE_KERNEL_BZIP2 |
| 25 | select HAVE_KERNEL_LZMA |
Mathieu Desnoyers | 42d4b83 | 2008-02-02 15:10:34 -0500 | [diff] [blame] | 26 | select HAVE_OPROFILE |
Michael Hennerich | a4f0b32c | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 27 | select ARCH_WANT_OPTIONAL_GPIOLIB |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 28 | |
Mike Frysinger | 70f1256 | 2009-06-07 17:18:25 -0400 | [diff] [blame] | 29 | config GENERIC_BUG |
| 30 | def_bool y |
| 31 | depends on BUG |
| 32 | |
Aubrey Li | e3defff | 2007-05-21 18:09:11 +0800 | [diff] [blame] | 33 | config ZONE_DMA |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 34 | def_bool y |
Aubrey Li | e3defff | 2007-05-21 18:09:11 +0800 | [diff] [blame] | 35 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 36 | config GENERIC_FIND_NEXT_BIT |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 37 | def_bool y |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 38 | |
| 39 | config GENERIC_HWEIGHT |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 40 | def_bool y |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 41 | |
| 42 | config GENERIC_HARDIRQS |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 43 | def_bool y |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 44 | |
| 45 | config GENERIC_IRQ_PROBE |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 46 | def_bool y |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 47 | |
Michael Hennerich | b2d1583 | 2007-07-24 15:46:36 +0800 | [diff] [blame] | 48 | config GENERIC_GPIO |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 49 | def_bool y |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 50 | |
| 51 | config FORCE_MAX_ZONEORDER |
| 52 | int |
| 53 | default "14" |
| 54 | |
| 55 | config GENERIC_CALIBRATE_DELAY |
Mike Frysinger | bac7d89 | 2009-06-07 03:46:06 -0400 | [diff] [blame] | 56 | def_bool y |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 57 | |
Mike Frysinger | 8f86001 | 2009-06-08 12:49:48 -0400 | [diff] [blame^] | 58 | config TRACE_IRQFLAGS_SUPPORT |
| 59 | def_bool y |
| 60 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 61 | source "init/Kconfig" |
Matt Helsley | dc52ddc | 2008-10-18 20:27:21 -0700 | [diff] [blame] | 62 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 63 | source "kernel/Kconfig.preempt" |
| 64 | |
Matt Helsley | dc52ddc | 2008-10-18 20:27:21 -0700 | [diff] [blame] | 65 | source "kernel/Kconfig.freezer" |
| 66 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 67 | menu "Blackfin Processor Options" |
| 68 | |
| 69 | comment "Processor and Board Settings" |
| 70 | |
| 71 | choice |
| 72 | prompt "CPU" |
| 73 | default BF533 |
| 74 | |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 75 | config BF512 |
| 76 | bool "BF512" |
| 77 | help |
| 78 | BF512 Processor Support. |
| 79 | |
| 80 | config BF514 |
| 81 | bool "BF514" |
| 82 | help |
| 83 | BF514 Processor Support. |
| 84 | |
| 85 | config BF516 |
| 86 | bool "BF516" |
| 87 | help |
| 88 | BF516 Processor Support. |
| 89 | |
| 90 | config BF518 |
| 91 | bool "BF518" |
| 92 | help |
| 93 | BF518 Processor Support. |
| 94 | |
Michael Hennerich | 5900314 | 2007-10-21 16:54:27 +0800 | [diff] [blame] | 95 | config BF522 |
| 96 | bool "BF522" |
| 97 | help |
| 98 | BF522 Processor Support. |
| 99 | |
Mike Frysinger | 1545a11 | 2007-12-24 16:54:48 +0800 | [diff] [blame] | 100 | config BF523 |
| 101 | bool "BF523" |
| 102 | help |
| 103 | BF523 Processor Support. |
| 104 | |
| 105 | config BF524 |
| 106 | bool "BF524" |
| 107 | help |
| 108 | BF524 Processor Support. |
| 109 | |
Michael Hennerich | 5900314 | 2007-10-21 16:54:27 +0800 | [diff] [blame] | 110 | config BF525 |
| 111 | bool "BF525" |
| 112 | help |
| 113 | BF525 Processor Support. |
| 114 | |
Mike Frysinger | 1545a11 | 2007-12-24 16:54:48 +0800 | [diff] [blame] | 115 | config BF526 |
| 116 | bool "BF526" |
| 117 | help |
| 118 | BF526 Processor Support. |
| 119 | |
Michael Hennerich | 5900314 | 2007-10-21 16:54:27 +0800 | [diff] [blame] | 120 | config BF527 |
| 121 | bool "BF527" |
| 122 | help |
| 123 | BF527 Processor Support. |
| 124 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 125 | config BF531 |
| 126 | bool "BF531" |
| 127 | help |
| 128 | BF531 Processor Support. |
| 129 | |
| 130 | config BF532 |
| 131 | bool "BF532" |
| 132 | help |
| 133 | BF532 Processor Support. |
| 134 | |
| 135 | config BF533 |
| 136 | bool "BF533" |
| 137 | help |
| 138 | BF533 Processor Support. |
| 139 | |
| 140 | config BF534 |
| 141 | bool "BF534" |
| 142 | help |
| 143 | BF534 Processor Support. |
| 144 | |
| 145 | config BF536 |
| 146 | bool "BF536" |
| 147 | help |
| 148 | BF536 Processor Support. |
| 149 | |
| 150 | config BF537 |
| 151 | bool "BF537" |
| 152 | help |
| 153 | BF537 Processor Support. |
| 154 | |
Michael Hennerich | dc26aec | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 155 | config BF538 |
| 156 | bool "BF538" |
| 157 | help |
| 158 | BF538 Processor Support. |
| 159 | |
| 160 | config BF539 |
| 161 | bool "BF539" |
| 162 | help |
| 163 | BF539 Processor Support. |
| 164 | |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 165 | config BF542 |
| 166 | bool "BF542" |
| 167 | help |
| 168 | BF542 Processor Support. |
| 169 | |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 170 | config BF542M |
| 171 | bool "BF542m" |
| 172 | help |
| 173 | BF542 Processor Support. |
| 174 | |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 175 | config BF544 |
| 176 | bool "BF544" |
| 177 | help |
| 178 | BF544 Processor Support. |
| 179 | |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 180 | config BF544M |
| 181 | bool "BF544m" |
| 182 | help |
| 183 | BF544 Processor Support. |
| 184 | |
Mike Frysinger | 7c7fd17 | 2007-11-15 21:10:21 +0800 | [diff] [blame] | 185 | config BF547 |
| 186 | bool "BF547" |
| 187 | help |
| 188 | BF547 Processor Support. |
| 189 | |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 190 | config BF547M |
| 191 | bool "BF547m" |
| 192 | help |
| 193 | BF547 Processor Support. |
| 194 | |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 195 | config BF548 |
| 196 | bool "BF548" |
| 197 | help |
| 198 | BF548 Processor Support. |
| 199 | |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 200 | config BF548M |
| 201 | bool "BF548m" |
| 202 | help |
| 203 | BF548 Processor Support. |
| 204 | |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 205 | config BF549 |
| 206 | bool "BF549" |
| 207 | help |
| 208 | BF549 Processor Support. |
| 209 | |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 210 | config BF549M |
| 211 | bool "BF549m" |
| 212 | help |
| 213 | BF549 Processor Support. |
| 214 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 215 | config BF561 |
| 216 | bool "BF561" |
| 217 | help |
Mike Frysinger | cd88b4d | 2008-10-09 12:03:22 +0800 | [diff] [blame] | 218 | BF561 Processor Support. |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 219 | |
| 220 | endchoice |
| 221 | |
Graf Yang | 46fa5ee | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 222 | config SMP |
| 223 | depends on BF561 |
Graf Yang | 9b9bfde | 2009-05-27 09:58:35 +0000 | [diff] [blame] | 224 | select GENERIC_TIME |
Graf Yang | 46fa5ee | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 225 | bool "Symmetric multi-processing support" |
| 226 | ---help--- |
| 227 | This enables support for systems with more than one CPU, |
| 228 | like the dual core BF561. If you have a system with only one |
| 229 | CPU, say N. If you have a system with more than one CPU, say Y. |
| 230 | |
| 231 | If you don't know what to do here, say N. |
| 232 | |
| 233 | config NR_CPUS |
| 234 | int |
| 235 | depends on SMP |
| 236 | default 2 if BF561 |
| 237 | |
| 238 | config IRQ_PER_CPU |
| 239 | bool |
| 240 | depends on SMP |
| 241 | default y |
| 242 | |
Mike Frysinger | 0c0497c | 2008-10-09 17:32:28 +0800 | [diff] [blame] | 243 | config BF_REV_MIN |
| 244 | int |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 245 | default 0 if (BF51x || BF52x || (BF54x && !BF54xM)) |
Mike Frysinger | 0c0497c | 2008-10-09 17:32:28 +0800 | [diff] [blame] | 246 | default 2 if (BF537 || BF536 || BF534) |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 247 | default 3 if (BF561 || BF533 || BF532 || BF531 || BF54xM) |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 248 | default 4 if (BF538 || BF539) |
Mike Frysinger | 0c0497c | 2008-10-09 17:32:28 +0800 | [diff] [blame] | 249 | |
| 250 | config BF_REV_MAX |
| 251 | int |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 252 | default 2 if (BF51x || BF52x || (BF54x && !BF54xM)) |
| 253 | default 3 if (BF537 || BF536 || BF534 || BF54xM) |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 254 | default 5 if (BF561 || BF538 || BF539) |
Mike Frysinger | 0c0497c | 2008-10-09 17:32:28 +0800 | [diff] [blame] | 255 | default 6 if (BF533 || BF532 || BF531) |
| 256 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 257 | choice |
| 258 | prompt "Silicon Rev" |
Mike Frysinger | f8b5565 | 2009-04-13 21:58:34 +0000 | [diff] [blame] | 259 | default BF_REV_0_0 if (BF51x || BF52x) |
| 260 | default BF_REV_0_2 if (BF534 || BF536 || BF537 || (BF54x && !BF54xM)) |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 261 | default BF_REV_0_3 if (BF531 || BF532 || BF533 || BF54xM || BF561) |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 262 | |
| 263 | config BF_REV_0_0 |
| 264 | bool "0.0" |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 265 | depends on (BF51x || BF52x || (BF54x && !BF54xM)) |
Michael Hennerich | 5900314 | 2007-10-21 16:54:27 +0800 | [diff] [blame] | 266 | |
| 267 | config BF_REV_0_1 |
Mike Frysinger | d07f438 | 2007-11-15 15:49:17 +0800 | [diff] [blame] | 268 | bool "0.1" |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 269 | depends on (BF52x || (BF54x && !BF54xM)) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 270 | |
| 271 | config BF_REV_0_2 |
| 272 | bool "0.2" |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 273 | depends on (BF52x || BF537 || BF536 || BF534 || (BF54x && !BF54xM)) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 274 | |
| 275 | config BF_REV_0_3 |
| 276 | bool "0.3" |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 277 | depends on (BF54xM || BF561 || BF537 || BF536 || BF534 || BF533 || BF532 || BF531) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 278 | |
| 279 | config BF_REV_0_4 |
| 280 | bool "0.4" |
Michael Hennerich | dc26aec | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 281 | depends on (BF561 || BF533 || BF532 || BF531 || BF538 || BF539) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 282 | |
| 283 | config BF_REV_0_5 |
| 284 | bool "0.5" |
Michael Hennerich | dc26aec | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 285 | depends on (BF561 || BF533 || BF532 || BF531 || BF538 || BF539) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 286 | |
Mike Frysinger | 49f7253 | 2008-10-09 12:06:27 +0800 | [diff] [blame] | 287 | config BF_REV_0_6 |
| 288 | bool "0.6" |
| 289 | depends on (BF533 || BF532 || BF531) |
| 290 | |
Jie Zhang | de3025f | 2007-06-25 18:04:12 +0800 | [diff] [blame] | 291 | config BF_REV_ANY |
| 292 | bool "any" |
| 293 | |
| 294 | config BF_REV_NONE |
| 295 | bool "none" |
| 296 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 297 | endchoice |
| 298 | |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 299 | config BF51x |
| 300 | bool |
| 301 | depends on (BF512 || BF514 || BF516 || BF518) |
| 302 | default y |
| 303 | |
Michael Hennerich | 5900314 | 2007-10-21 16:54:27 +0800 | [diff] [blame] | 304 | config BF52x |
| 305 | bool |
Mike Frysinger | 1545a11 | 2007-12-24 16:54:48 +0800 | [diff] [blame] | 306 | depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527) |
Michael Hennerich | 5900314 | 2007-10-21 16:54:27 +0800 | [diff] [blame] | 307 | default y |
| 308 | |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 309 | config BF53x |
| 310 | bool |
| 311 | depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537) |
| 312 | default y |
| 313 | |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 314 | config BF54xM |
| 315 | bool |
| 316 | depends on (BF542M || BF544M || BF547M || BF548M || BF549M) |
| 317 | default y |
| 318 | |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 319 | config BF54x |
| 320 | bool |
Mike Frysinger | 2f89c06 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 321 | depends on (BF542 || BF544 || BF547 || BF548 || BF549 || BF54xM) |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 322 | default y |
| 323 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 324 | config MEM_GENERIC_BOARD |
| 325 | bool |
| 326 | depends on GENERIC_BOARD |
| 327 | default y |
| 328 | |
| 329 | config MEM_MT48LC64M4A2FB_7E |
| 330 | bool |
| 331 | depends on (BFIN533_STAMP) |
| 332 | default y |
| 333 | |
| 334 | config MEM_MT48LC16M16A2TG_75 |
| 335 | bool |
| 336 | depends on (BFIN533_EZKIT || BFIN561_EZKIT \ |
Javier Herrero | ab472a0 | 2007-10-29 16:14:44 +0800 | [diff] [blame] | 337 | || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM \ |
Michael Hennerich | 9db144f | 2008-07-19 17:16:07 +0800 | [diff] [blame] | 338 | || H8606_HVSISTEMAS || BFIN527_BLUETECHNIX_CM) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 339 | default y |
| 340 | |
| 341 | config MEM_MT48LC32M8A2_75 |
| 342 | bool |
Michael Hennerich | dc26aec | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 343 | depends on (BFIN537_STAMP || PNAV10 || BFIN538_EZKIT) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 344 | default y |
| 345 | |
| 346 | config MEM_MT48LC8M32B2B5_7 |
| 347 | bool |
| 348 | depends on (BFIN561_BLUETECHNIX_CM) |
| 349 | default y |
| 350 | |
Michael Hennerich | 5900314 | 2007-10-21 16:54:27 +0800 | [diff] [blame] | 351 | config MEM_MT48LC32M16A2TG_75 |
| 352 | bool |
Michael Hennerich | 8cc7117 | 2008-10-13 14:45:06 +0800 | [diff] [blame] | 353 | depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP || BFIN526_EZBRD) |
Michael Hennerich | 5900314 | 2007-10-21 16:54:27 +0800 | [diff] [blame] | 354 | default y |
| 355 | |
Sonic Zhang | 4934540 | 2009-01-07 23:14:38 +0800 | [diff] [blame] | 356 | config MEM_MT48LC32M8A2_75 |
| 357 | bool |
| 358 | depends on (BFIN518F_EZBRD) |
| 359 | default y |
| 360 | |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 361 | source "arch/blackfin/mach-bf518/Kconfig" |
Michael Hennerich | 5900314 | 2007-10-21 16:54:27 +0800 | [diff] [blame] | 362 | source "arch/blackfin/mach-bf527/Kconfig" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 363 | source "arch/blackfin/mach-bf533/Kconfig" |
| 364 | source "arch/blackfin/mach-bf561/Kconfig" |
| 365 | source "arch/blackfin/mach-bf537/Kconfig" |
Michael Hennerich | dc26aec | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 366 | source "arch/blackfin/mach-bf538/Kconfig" |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 367 | source "arch/blackfin/mach-bf548/Kconfig" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 368 | |
| 369 | menu "Board customizations" |
| 370 | |
| 371 | config CMDLINE_BOOL |
| 372 | bool "Default bootloader kernel arguments" |
| 373 | |
| 374 | config CMDLINE |
| 375 | string "Initial kernel command string" |
| 376 | depends on CMDLINE_BOOL |
| 377 | default "console=ttyBF0,57600" |
| 378 | help |
| 379 | If you don't have a boot loader capable of passing a command line string |
| 380 | to the kernel, you may specify one here. As a minimum, you should specify |
| 381 | the memory size and the root device (e.g., mem=8M, root=/dev/nfs). |
| 382 | |
Mike Frysinger | 5f004c2 | 2008-04-25 02:11:24 +0800 | [diff] [blame] | 383 | config BOOT_LOAD |
| 384 | hex "Kernel load address for booting" |
| 385 | default "0x1000" |
| 386 | range 0x1000 0x20000000 |
| 387 | help |
| 388 | This option allows you to set the load address of the kernel. |
| 389 | This can be useful if you are on a board which has a small amount |
| 390 | of memory or you wish to reserve some memory at the beginning of |
| 391 | the address space. |
| 392 | |
| 393 | Note that you need to keep this value above 4k (0x1000) as this |
| 394 | memory region is used to capture NULL pointer references as well |
| 395 | as some core kernel functions. |
| 396 | |
Michael Hennerich | 8cc7117 | 2008-10-13 14:45:06 +0800 | [diff] [blame] | 397 | config ROM_BASE |
| 398 | hex "Kernel ROM Base" |
Mike Frysinger | 8624991 | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 399 | depends on ROMKERNEL |
Michael Hennerich | 8cc7117 | 2008-10-13 14:45:06 +0800 | [diff] [blame] | 400 | default "0x20040000" |
| 401 | range 0x20000000 0x20400000 if !(BF54x || BF561) |
| 402 | range 0x20000000 0x30000000 if (BF54x || BF561) |
| 403 | help |
| 404 | |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 405 | comment "Clock/PLL Setup" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 406 | |
| 407 | config CLKIN_HZ |
Sonic Zhang | 2fb6cb4 | 2008-04-25 04:39:28 +0800 | [diff] [blame] | 408 | int "Frequency of the crystal on the board in Hz" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 409 | default "11059200" if BFIN533_STAMP |
| 410 | default "27000000" if BFIN533_EZKIT |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 411 | default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD || BFIN538_EZKIT || BFIN518F-EZBRD) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 412 | default "30000000" if BFIN561_EZKIT |
| 413 | default "24576000" if PNAV10 |
Mike Frysinger | 5d1617b | 2008-04-24 05:03:26 +0800 | [diff] [blame] | 414 | default "10000000" if BFIN532_IP0X |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 415 | help |
| 416 | The frequency of CLKIN crystal oscillator on the board in Hz. |
Sonic Zhang | 2fb6cb4 | 2008-04-25 04:39:28 +0800 | [diff] [blame] | 417 | Warning: This value should match the crystal on the board. Otherwise, |
| 418 | peripherals won't work properly. |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 419 | |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 420 | config BFIN_KERNEL_CLOCK |
| 421 | bool "Re-program Clocks while Kernel boots?" |
| 422 | default n |
| 423 | help |
| 424 | This option decides if kernel clocks are re-programed from the |
| 425 | bootloader settings. If the clocks are not set, the SDRAM settings |
| 426 | are also not changed, and the Bootloader does 100% of the hardware |
| 427 | configuration. |
| 428 | |
| 429 | config PLL_BYPASS |
Mike Frysinger | e4e9a7a | 2007-11-15 20:39:34 +0800 | [diff] [blame] | 430 | bool "Bypass PLL" |
| 431 | depends on BFIN_KERNEL_CLOCK |
| 432 | default n |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 433 | |
| 434 | config CLKIN_HALF |
| 435 | bool "Half Clock In" |
| 436 | depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS) |
| 437 | default n |
| 438 | help |
| 439 | If this is set the clock will be divided by 2, before it goes to the PLL. |
| 440 | |
| 441 | config VCO_MULT |
| 442 | int "VCO Multiplier" |
| 443 | depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS) |
| 444 | range 1 64 |
| 445 | default "22" if BFIN533_EZKIT |
| 446 | default "45" if BFIN533_STAMP |
Michael Hennerich | dc26aec | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 447 | default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM || BFIN538_EZKIT) |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 448 | default "22" if BFIN533_BLUETECHNIX_CM |
Michael Hennerich | 9db144f | 2008-07-19 17:16:07 +0800 | [diff] [blame] | 449 | default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM) |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 450 | default "20" if BFIN561_EZKIT |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 451 | default "16" if (H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD || BFIN518F_EZBRD) |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 452 | help |
| 453 | This controls the frequency of the on-chip PLL. This can be between 1 and 64. |
| 454 | PLL Frequency = (Crystal Frequency) * (this setting) |
| 455 | |
| 456 | choice |
| 457 | prompt "Core Clock Divider" |
| 458 | depends on BFIN_KERNEL_CLOCK |
| 459 | default CCLK_DIV_1 |
| 460 | help |
| 461 | This sets the frequency of the core. It can be 1, 2, 4 or 8 |
| 462 | Core Frequency = (PLL frequency) / (this setting) |
| 463 | |
| 464 | config CCLK_DIV_1 |
| 465 | bool "1" |
| 466 | |
| 467 | config CCLK_DIV_2 |
| 468 | bool "2" |
| 469 | |
| 470 | config CCLK_DIV_4 |
| 471 | bool "4" |
| 472 | |
| 473 | config CCLK_DIV_8 |
| 474 | bool "8" |
| 475 | endchoice |
| 476 | |
| 477 | config SCLK_DIV |
| 478 | int "System Clock Divider" |
| 479 | depends on BFIN_KERNEL_CLOCK |
| 480 | range 1 15 |
Mike Frysinger | 5f004c2 | 2008-04-25 02:11:24 +0800 | [diff] [blame] | 481 | default 5 |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 482 | help |
| 483 | This sets the frequency of the system clock (including SDRAM or DDR). |
| 484 | This can be between 1 and 15 |
| 485 | System Clock = (PLL frequency) / (this setting) |
| 486 | |
Mike Frysinger | 5f004c2 | 2008-04-25 02:11:24 +0800 | [diff] [blame] | 487 | choice |
| 488 | prompt "DDR SDRAM Chip Type" |
| 489 | depends on BFIN_KERNEL_CLOCK |
| 490 | depends on BF54x |
| 491 | default MEM_MT46V32M16_5B |
| 492 | |
| 493 | config MEM_MT46V32M16_6T |
| 494 | bool "MT46V32M16_6T" |
| 495 | |
| 496 | config MEM_MT46V32M16_5B |
| 497 | bool "MT46V32M16_5B" |
| 498 | endchoice |
| 499 | |
Michael Hennerich | 73feb5c | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 500 | choice |
| 501 | prompt "DDR/SDRAM Timing" |
| 502 | depends on BFIN_KERNEL_CLOCK |
| 503 | default BFIN_KERNEL_CLOCK_MEMINIT_CALC |
| 504 | help |
| 505 | This option allows you to specify Blackfin SDRAM/DDR Timing parameters |
| 506 | The calculated SDRAM timing parameters may not be 100% |
| 507 | accurate - This option is therefore marked experimental. |
| 508 | |
| 509 | config BFIN_KERNEL_CLOCK_MEMINIT_CALC |
| 510 | bool "Calculate Timings (EXPERIMENTAL)" |
| 511 | depends on EXPERIMENTAL |
| 512 | |
| 513 | config BFIN_KERNEL_CLOCK_MEMINIT_SPEC |
| 514 | bool "Provide accurate Timings based on target SCLK" |
| 515 | help |
| 516 | Please consult the Blackfin Hardware Reference Manuals as well |
| 517 | as the memory device datasheet. |
| 518 | http://docs.blackfin.uclinux.org/doku.php?id=bfin:sdram |
| 519 | endchoice |
| 520 | |
| 521 | menu "Memory Init Control" |
| 522 | depends on BFIN_KERNEL_CLOCK_MEMINIT_SPEC |
| 523 | |
| 524 | config MEM_DDRCTL0 |
| 525 | depends on BF54x |
| 526 | hex "DDRCTL0" |
| 527 | default 0x0 |
| 528 | |
| 529 | config MEM_DDRCTL1 |
| 530 | depends on BF54x |
| 531 | hex "DDRCTL1" |
| 532 | default 0x0 |
| 533 | |
| 534 | config MEM_DDRCTL2 |
| 535 | depends on BF54x |
| 536 | hex "DDRCTL2" |
| 537 | default 0x0 |
| 538 | |
| 539 | config MEM_EBIU_DDRQUE |
| 540 | depends on BF54x |
| 541 | hex "DDRQUE" |
| 542 | default 0x0 |
| 543 | |
| 544 | config MEM_SDRRC |
| 545 | depends on !BF54x |
| 546 | hex "SDRRC" |
| 547 | default 0x0 |
| 548 | |
| 549 | config MEM_SDGCTL |
| 550 | depends on !BF54x |
| 551 | hex "SDGCTL" |
| 552 | default 0x0 |
| 553 | endmenu |
| 554 | |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 555 | # |
| 556 | # Max & Min Speeds for various Chips |
| 557 | # |
| 558 | config MAX_VCO_HZ |
| 559 | int |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 560 | default 400000000 if BF512 |
| 561 | default 400000000 if BF514 |
| 562 | default 400000000 if BF516 |
| 563 | default 400000000 if BF518 |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 564 | default 600000000 if BF522 |
Mike Frysinger | 1545a11 | 2007-12-24 16:54:48 +0800 | [diff] [blame] | 565 | default 400000000 if BF523 |
| 566 | default 400000000 if BF524 |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 567 | default 600000000 if BF525 |
Mike Frysinger | 1545a11 | 2007-12-24 16:54:48 +0800 | [diff] [blame] | 568 | default 400000000 if BF526 |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 569 | default 600000000 if BF527 |
| 570 | default 400000000 if BF531 |
| 571 | default 400000000 if BF532 |
| 572 | default 750000000 if BF533 |
| 573 | default 500000000 if BF534 |
| 574 | default 400000000 if BF536 |
| 575 | default 600000000 if BF537 |
Robin Getz | f72eecb | 2007-11-21 16:29:20 +0800 | [diff] [blame] | 576 | default 533333333 if BF538 |
| 577 | default 533333333 if BF539 |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 578 | default 600000000 if BF542 |
Robin Getz | f72eecb | 2007-11-21 16:29:20 +0800 | [diff] [blame] | 579 | default 533333333 if BF544 |
Mike Frysinger | 1545a11 | 2007-12-24 16:54:48 +0800 | [diff] [blame] | 580 | default 600000000 if BF547 |
| 581 | default 600000000 if BF548 |
Robin Getz | f72eecb | 2007-11-21 16:29:20 +0800 | [diff] [blame] | 582 | default 533333333 if BF549 |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 583 | default 600000000 if BF561 |
| 584 | |
| 585 | config MIN_VCO_HZ |
| 586 | int |
| 587 | default 50000000 |
| 588 | |
| 589 | config MAX_SCLK_HZ |
| 590 | int |
Robin Getz | f72eecb | 2007-11-21 16:29:20 +0800 | [diff] [blame] | 591 | default 133333333 |
Robin Getz | f16295e | 2007-08-03 18:07:17 +0800 | [diff] [blame] | 592 | |
| 593 | config MIN_SCLK_HZ |
| 594 | int |
| 595 | default 27000000 |
| 596 | |
| 597 | comment "Kernel Timer/Scheduler" |
| 598 | |
| 599 | source kernel/Kconfig.hz |
| 600 | |
Vitja Makarov | 8b5f79f | 2008-02-29 12:24:23 +0800 | [diff] [blame] | 601 | config GENERIC_TIME |
| 602 | bool "Generic time" |
| 603 | default y |
| 604 | |
| 605 | config GENERIC_CLOCKEVENTS |
| 606 | bool "Generic clock events" |
| 607 | depends on GENERIC_TIME |
| 608 | default y |
| 609 | |
Graf Yang | 1fa9be7 | 2009-05-15 11:01:59 +0000 | [diff] [blame] | 610 | choice |
| 611 | prompt "Kernel Tick Source" |
| 612 | depends on GENERIC_CLOCKEVENTS |
| 613 | default TICKSOURCE_CORETMR |
| 614 | |
| 615 | config TICKSOURCE_GPTMR0 |
| 616 | bool "Gptimer0 (SCLK domain)" |
| 617 | select BFIN_GPTIMERS |
| 618 | depends on !IPIPE |
| 619 | |
| 620 | config TICKSOURCE_CORETMR |
| 621 | bool "Core timer (CCLK domain)" |
| 622 | |
| 623 | endchoice |
| 624 | |
Vitja Makarov | 8b5f79f | 2008-02-29 12:24:23 +0800 | [diff] [blame] | 625 | config CYCLES_CLOCKSOURCE |
Graf Yang | 1fa9be7 | 2009-05-15 11:01:59 +0000 | [diff] [blame] | 626 | bool "Use 'CYCLES' as a clocksource" |
Vitja Makarov | 8b5f79f | 2008-02-29 12:24:23 +0800 | [diff] [blame] | 627 | depends on GENERIC_CLOCKEVENTS |
| 628 | depends on !BFIN_SCRATCH_REG_CYCLES |
Graf Yang | 1fa9be7 | 2009-05-15 11:01:59 +0000 | [diff] [blame] | 629 | depends on !SMP |
Vitja Makarov | 8b5f79f | 2008-02-29 12:24:23 +0800 | [diff] [blame] | 630 | help |
| 631 | If you say Y here, you will enable support for using the 'cycles' |
| 632 | registers as a clock source. Doing so means you will be unable to |
| 633 | safely write to the 'cycles' register during runtime. You will |
| 634 | still be able to read it (such as for performance monitoring), but |
| 635 | writing the registers will most likely crash the kernel. |
| 636 | |
Graf Yang | 1fa9be7 | 2009-05-15 11:01:59 +0000 | [diff] [blame] | 637 | config GPTMR0_CLOCKSOURCE |
| 638 | bool "Use GPTimer0 as a clocksource (higher rating)" |
| 639 | depends on GENERIC_CLOCKEVENTS |
| 640 | depends on !TICKSOURCE_GPTMR0 |
| 641 | |
Vitja Makarov | 8b5f79f | 2008-02-29 12:24:23 +0800 | [diff] [blame] | 642 | source kernel/time/Kconfig |
| 643 | |
Mike Frysinger | 5f004c2 | 2008-04-25 02:11:24 +0800 | [diff] [blame] | 644 | comment "Misc" |
Sonic Zhang | 971d5bc | 2008-01-27 16:32:31 +0800 | [diff] [blame] | 645 | |
Mike Frysinger | f0b5d12 | 2007-08-05 17:03:59 +0800 | [diff] [blame] | 646 | choice |
| 647 | prompt "Blackfin Exception Scratch Register" |
| 648 | default BFIN_SCRATCH_REG_RETN |
| 649 | help |
| 650 | Select the resource to reserve for the Exception handler: |
| 651 | - RETN: Non-Maskable Interrupt (NMI) |
| 652 | - RETE: Exception Return (JTAG/ICE) |
| 653 | - CYCLES: Performance counter |
| 654 | |
| 655 | If you are unsure, please select "RETN". |
| 656 | |
| 657 | config BFIN_SCRATCH_REG_RETN |
| 658 | bool "RETN" |
| 659 | help |
| 660 | Use the RETN register in the Blackfin exception handler |
| 661 | as a stack scratch register. This means you cannot |
| 662 | safely use NMI on the Blackfin while running Linux, but |
| 663 | you can debug the system with a JTAG ICE and use the |
| 664 | CYCLES performance registers. |
| 665 | |
| 666 | If you are unsure, please select "RETN". |
| 667 | |
| 668 | config BFIN_SCRATCH_REG_RETE |
| 669 | bool "RETE" |
| 670 | help |
| 671 | Use the RETE register in the Blackfin exception handler |
| 672 | as a stack scratch register. This means you cannot |
| 673 | safely use a JTAG ICE while debugging a Blackfin board, |
| 674 | but you can safely use the CYCLES performance registers |
| 675 | and the NMI. |
| 676 | |
| 677 | If you are unsure, please select "RETN". |
| 678 | |
| 679 | config BFIN_SCRATCH_REG_CYCLES |
| 680 | bool "CYCLES" |
| 681 | help |
| 682 | Use the CYCLES register in the Blackfin exception handler |
| 683 | as a stack scratch register. This means you cannot |
| 684 | safely use the CYCLES performance registers on a Blackfin |
| 685 | board at anytime, but you can debug the system with a JTAG |
| 686 | ICE and use the NMI. |
| 687 | |
| 688 | If you are unsure, please select "RETN". |
| 689 | |
| 690 | endchoice |
| 691 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 692 | endmenu |
| 693 | |
| 694 | |
| 695 | menu "Blackfin Kernel Optimizations" |
Graf Yang | 46fa5ee | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 696 | depends on !SMP |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 697 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 698 | comment "Memory Optimizations" |
| 699 | |
| 700 | config I_ENTRY_L1 |
| 701 | bool "Locate interrupt entry code in L1 Memory" |
| 702 | default y |
| 703 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 704 | If enabled, interrupt entry code (STORE/RESTORE CONTEXT) is linked |
| 705 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 706 | |
| 707 | config EXCPT_IRQ_SYSC_L1 |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 708 | bool "Locate entire ASM lowlevel exception / interrupt - Syscall and CPLB handler code in L1 Memory" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 709 | default y |
| 710 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 711 | If enabled, the entire ASM lowlevel exception and interrupt entry code |
Michael Hennerich | cfefe3c | 2008-02-09 04:12:37 +0800 | [diff] [blame] | 712 | (STORE/RESTORE CONTEXT) is linked into L1 instruction memory. |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 713 | (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 714 | |
| 715 | config DO_IRQ_L1 |
| 716 | bool "Locate frequently called do_irq dispatcher function in L1 Memory" |
| 717 | default y |
| 718 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 719 | If enabled, the frequently called do_irq dispatcher function is linked |
| 720 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 721 | |
| 722 | config CORE_TIMER_IRQ_L1 |
| 723 | bool "Locate frequently called timer_interrupt() function in L1 Memory" |
| 724 | default y |
| 725 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 726 | If enabled, the frequently called timer_interrupt() function is linked |
| 727 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 728 | |
| 729 | config IDLE_L1 |
| 730 | bool "Locate frequently idle function in L1 Memory" |
| 731 | default y |
| 732 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 733 | If enabled, the frequently called idle function is linked |
| 734 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 735 | |
| 736 | config SCHEDULE_L1 |
| 737 | bool "Locate kernel schedule function in L1 Memory" |
| 738 | default y |
| 739 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 740 | If enabled, the frequently called kernel schedule is linked |
| 741 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 742 | |
| 743 | config ARITHMETIC_OPS_L1 |
| 744 | bool "Locate kernel owned arithmetic functions in L1 Memory" |
| 745 | default y |
| 746 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 747 | If enabled, arithmetic functions are linked |
| 748 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 749 | |
| 750 | config ACCESS_OK_L1 |
| 751 | bool "Locate access_ok function in L1 Memory" |
| 752 | default y |
| 753 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 754 | If enabled, the access_ok function is linked |
| 755 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 756 | |
| 757 | config MEMSET_L1 |
| 758 | bool "Locate memset function in L1 Memory" |
| 759 | default y |
| 760 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 761 | If enabled, the memset function is linked |
| 762 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 763 | |
| 764 | config MEMCPY_L1 |
| 765 | bool "Locate memcpy function in L1 Memory" |
| 766 | default y |
| 767 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 768 | If enabled, the memcpy function is linked |
| 769 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 770 | |
| 771 | config SYS_BFIN_SPINLOCK_L1 |
| 772 | bool "Locate sys_bfin_spinlock function in L1 Memory" |
| 773 | default y |
| 774 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 775 | If enabled, sys_bfin_spinlock function is linked |
| 776 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 777 | |
| 778 | config IP_CHECKSUM_L1 |
| 779 | bool "Locate IP Checksum function in L1 Memory" |
| 780 | default n |
| 781 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 782 | If enabled, the IP Checksum function is linked |
| 783 | into L1 instruction memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 784 | |
| 785 | config CACHELINE_ALIGNED_L1 |
| 786 | bool "Locate cacheline_aligned data to L1 Data Memory" |
Michael Hennerich | 157cc5a | 2007-07-12 16:20:21 +0800 | [diff] [blame] | 787 | default y if !BF54x |
| 788 | default n if BF54x |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 789 | depends on !BF531 |
| 790 | help |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 791 | If enabled, cacheline_aligned data is linked |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 792 | into L1 data memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 793 | |
| 794 | config SYSCALL_TAB_L1 |
| 795 | bool "Locate Syscall Table L1 Data Memory" |
| 796 | default n |
| 797 | depends on !BF531 |
| 798 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 799 | If enabled, the Syscall LUT is linked |
| 800 | into L1 data memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 801 | |
| 802 | config CPLB_SWITCH_TAB_L1 |
| 803 | bool "Locate CPLB Switch Tables L1 Data Memory" |
| 804 | default n |
| 805 | depends on !BF531 |
| 806 | help |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 807 | If enabled, the CPLB Switch Tables are linked |
| 808 | into L1 data memory. (less latency) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 809 | |
Graf Yang | ca87b7a | 2008-10-08 17:30:01 +0800 | [diff] [blame] | 810 | config APP_STACK_L1 |
| 811 | bool "Support locating application stack in L1 Scratch Memory" |
| 812 | default y |
| 813 | help |
| 814 | If enabled the application stack can be located in L1 |
| 815 | scratch memory (less latency). |
| 816 | |
| 817 | Currently only works with FLAT binaries. |
| 818 | |
Mike Frysinger | 6ad2b84 | 2008-10-28 11:03:09 +0800 | [diff] [blame] | 819 | config EXCEPTION_L1_SCRATCH |
| 820 | bool "Locate exception stack in L1 Scratch Memory" |
| 821 | default n |
Graf Yang | f82e0a0 | 2009-04-08 08:30:22 +0000 | [diff] [blame] | 822 | depends on !APP_STACK_L1 |
Mike Frysinger | 6ad2b84 | 2008-10-28 11:03:09 +0800 | [diff] [blame] | 823 | help |
| 824 | Whenever an exception occurs, use the L1 Scratch memory for |
| 825 | stack storage. You cannot place the stacks of FLAT binaries |
| 826 | in L1 when using this option. |
| 827 | |
| 828 | If you don't use L1 Scratch, then you should say Y here. |
| 829 | |
Robin Getz | 251383c | 2008-08-14 15:12:55 +0800 | [diff] [blame] | 830 | comment "Speed Optimizations" |
| 831 | config BFIN_INS_LOWOVERHEAD |
| 832 | bool "ins[bwl] low overhead, higher interrupt latency" |
| 833 | default y |
| 834 | help |
| 835 | Reads on the Blackfin are speculative. In Blackfin terms, this means |
| 836 | they can be interrupted at any time (even after they have been issued |
| 837 | on to the external bus), and re-issued after the interrupt occurs. |
| 838 | For memory - this is not a big deal, since memory does not change if |
| 839 | it sees a read. |
| 840 | |
| 841 | If a FIFO is sitting on the end of the read, it will see two reads, |
| 842 | when the core only sees one since the FIFO receives both the read |
| 843 | which is cancelled (and not delivered to the core) and the one which |
| 844 | is re-issued (which is delivered to the core). |
| 845 | |
| 846 | To solve this, interrupts are turned off before reads occur to |
| 847 | I/O space. This option controls which the overhead/latency of |
| 848 | controlling interrupts during this time |
| 849 | "n" turns interrupts off every read |
| 850 | (higher overhead, but lower interrupt latency) |
| 851 | "y" turns interrupts off every loop |
| 852 | (low overhead, but longer interrupt latency) |
| 853 | |
| 854 | default behavior is to leave this set to on (type "Y"). If you are experiencing |
| 855 | interrupt latency issues, it is safe and OK to turn this off. |
| 856 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 857 | endmenu |
| 858 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 859 | choice |
| 860 | prompt "Kernel executes from" |
| 861 | help |
| 862 | Choose the memory type that the kernel will be running in. |
| 863 | |
| 864 | config RAMKERNEL |
| 865 | bool "RAM" |
| 866 | help |
| 867 | The kernel will be resident in RAM when running. |
| 868 | |
| 869 | config ROMKERNEL |
| 870 | bool "ROM" |
| 871 | help |
| 872 | The kernel will be resident in FLASH/ROM when running. |
| 873 | |
| 874 | endchoice |
| 875 | |
| 876 | source "mm/Kconfig" |
| 877 | |
Mike Frysinger | 780431e | 2007-10-21 23:37:54 +0800 | [diff] [blame] | 878 | config BFIN_GPTIMERS |
| 879 | tristate "Enable Blackfin General Purpose Timers API" |
| 880 | default n |
| 881 | help |
| 882 | Enable support for the General Purpose Timers API. If you |
| 883 | are unsure, say N. |
| 884 | |
| 885 | To compile this driver as a module, choose M here: the module |
| 886 | will be called gptimers.ko. |
| 887 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 888 | choice |
Mike Frysinger | d292b00 | 2008-10-28 11:15:36 +0800 | [diff] [blame] | 889 | prompt "Uncached DMA region" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 890 | default DMA_UNCACHED_1M |
Cliff Cai | 86ad793 | 2008-05-17 16:36:52 +0800 | [diff] [blame] | 891 | config DMA_UNCACHED_4M |
| 892 | bool "Enable 4M DMA region" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 893 | config DMA_UNCACHED_2M |
| 894 | bool "Enable 2M DMA region" |
| 895 | config DMA_UNCACHED_1M |
| 896 | bool "Enable 1M DMA region" |
| 897 | config DMA_UNCACHED_NONE |
| 898 | bool "Disable DMA region" |
| 899 | endchoice |
| 900 | |
| 901 | |
| 902 | comment "Cache Support" |
Robin Getz | 3bebca2 | 2007-10-10 23:55:26 +0800 | [diff] [blame] | 903 | config BFIN_ICACHE |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 904 | bool "Enable ICACHE" |
Robin Getz | 3bebca2 | 2007-10-10 23:55:26 +0800 | [diff] [blame] | 905 | config BFIN_DCACHE |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 906 | bool "Enable DCACHE" |
Robin Getz | 3bebca2 | 2007-10-10 23:55:26 +0800 | [diff] [blame] | 907 | config BFIN_DCACHE_BANKA |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 908 | bool "Enable only 16k BankA DCACHE - BankB is SRAM" |
Robin Getz | 3bebca2 | 2007-10-10 23:55:26 +0800 | [diff] [blame] | 909 | depends on BFIN_DCACHE && !BF531 |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 910 | default n |
Robin Getz | 3bebca2 | 2007-10-10 23:55:26 +0800 | [diff] [blame] | 911 | config BFIN_ICACHE_LOCK |
| 912 | bool "Enable Instruction Cache Locking" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 913 | |
| 914 | choice |
Graf Yang | 5ba7667 | 2009-05-07 04:09:15 +0000 | [diff] [blame] | 915 | prompt "External memory cache policy" |
Robin Getz | 3bebca2 | 2007-10-10 23:55:26 +0800 | [diff] [blame] | 916 | depends on BFIN_DCACHE |
Graf Yang | 46fa5ee | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 917 | default BFIN_WB if !SMP |
| 918 | default BFIN_WT if SMP |
Robin Getz | 3bebca2 | 2007-10-10 23:55:26 +0800 | [diff] [blame] | 919 | config BFIN_WB |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 920 | bool "Write back" |
Graf Yang | 46fa5ee | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 921 | depends on !SMP |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 922 | help |
| 923 | Write Back Policy: |
| 924 | Cached data will be written back to SDRAM only when needed. |
| 925 | This can give a nice increase in performance, but beware of |
| 926 | broken drivers that do not properly invalidate/flush their |
| 927 | cache. |
| 928 | |
| 929 | Write Through Policy: |
| 930 | Cached data will always be written back to SDRAM when the |
| 931 | cache is updated. This is a completely safe setting, but |
| 932 | performance is worse than Write Back. |
| 933 | |
| 934 | If you are unsure of the options and you want to be safe, |
| 935 | then go with Write Through. |
| 936 | |
Robin Getz | 3bebca2 | 2007-10-10 23:55:26 +0800 | [diff] [blame] | 937 | config BFIN_WT |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 938 | bool "Write through" |
| 939 | help |
| 940 | Write Back Policy: |
| 941 | Cached data will be written back to SDRAM only when needed. |
| 942 | This can give a nice increase in performance, but beware of |
| 943 | broken drivers that do not properly invalidate/flush their |
| 944 | cache. |
| 945 | |
| 946 | Write Through Policy: |
| 947 | Cached data will always be written back to SDRAM when the |
| 948 | cache is updated. This is a completely safe setting, but |
| 949 | performance is worse than Write Back. |
| 950 | |
| 951 | If you are unsure of the options and you want to be safe, |
| 952 | then go with Write Through. |
| 953 | |
| 954 | endchoice |
| 955 | |
Graf Yang | 5ba7667 | 2009-05-07 04:09:15 +0000 | [diff] [blame] | 956 | choice |
| 957 | prompt "L2 SRAM cache policy" |
| 958 | depends on (BF54x || BF561) |
| 959 | default BFIN_L2_WT |
| 960 | config BFIN_L2_WB |
| 961 | bool "Write back" |
| 962 | depends on !SMP |
| 963 | |
| 964 | config BFIN_L2_WT |
| 965 | bool "Write through" |
| 966 | depends on !SMP |
| 967 | |
| 968 | config BFIN_L2_NOT_CACHED |
| 969 | bool "Not cached" |
| 970 | |
| 971 | endchoice |
Sonic Zhang | f099f39 | 2008-10-09 14:11:57 +0800 | [diff] [blame] | 972 | |
Bernd Schmidt | b97b8a9 | 2008-01-27 18:39:16 +0800 | [diff] [blame] | 973 | config MPU |
| 974 | bool "Enable the memory protection unit (EXPERIMENTAL)" |
| 975 | default n |
| 976 | help |
| 977 | Use the processor's MPU to protect applications from accessing |
| 978 | memory they do not own. This comes at a performance penalty |
| 979 | and is recommended only for debugging. |
| 980 | |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 981 | comment "Asynchronous Memory Configuration" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 982 | |
Mike Frysinger | ddf416b | 2007-10-10 18:06:47 +0800 | [diff] [blame] | 983 | menu "EBIU_AMGCTL Global Control" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 984 | config C_AMCKEN |
| 985 | bool "Enable CLKOUT" |
| 986 | default y |
| 987 | |
| 988 | config C_CDPRIO |
| 989 | bool "DMA has priority over core for ext. accesses" |
| 990 | default n |
| 991 | |
| 992 | config C_B0PEN |
| 993 | depends on BF561 |
| 994 | bool "Bank 0 16 bit packing enable" |
| 995 | default y |
| 996 | |
| 997 | config C_B1PEN |
| 998 | depends on BF561 |
| 999 | bool "Bank 1 16 bit packing enable" |
| 1000 | default y |
| 1001 | |
| 1002 | config C_B2PEN |
| 1003 | depends on BF561 |
| 1004 | bool "Bank 2 16 bit packing enable" |
| 1005 | default y |
| 1006 | |
| 1007 | config C_B3PEN |
| 1008 | depends on BF561 |
| 1009 | bool "Bank 3 16 bit packing enable" |
| 1010 | default n |
| 1011 | |
| 1012 | choice |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 1013 | prompt "Enable Asynchronous Memory Banks" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1014 | default C_AMBEN_ALL |
| 1015 | |
| 1016 | config C_AMBEN |
| 1017 | bool "Disable All Banks" |
| 1018 | |
| 1019 | config C_AMBEN_B0 |
| 1020 | bool "Enable Bank 0" |
| 1021 | |
| 1022 | config C_AMBEN_B0_B1 |
| 1023 | bool "Enable Bank 0 & 1" |
| 1024 | |
| 1025 | config C_AMBEN_B0_B1_B2 |
| 1026 | bool "Enable Bank 0 & 1 & 2" |
| 1027 | |
| 1028 | config C_AMBEN_ALL |
| 1029 | bool "Enable All Banks" |
| 1030 | endchoice |
| 1031 | endmenu |
| 1032 | |
| 1033 | menu "EBIU_AMBCTL Control" |
| 1034 | config BANK_0 |
Mike Frysinger | c8342f8 | 2009-03-31 00:18:35 +0000 | [diff] [blame] | 1035 | hex "Bank 0 (AMBCTL0.L)" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1036 | default 0x7BB0 |
Mike Frysinger | c8342f8 | 2009-03-31 00:18:35 +0000 | [diff] [blame] | 1037 | help |
| 1038 | These are the low 16 bits of the EBIU_AMBCTL0 MMR which are |
| 1039 | used to control the Asynchronous Memory Bank 0 settings. |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1040 | |
| 1041 | config BANK_1 |
Mike Frysinger | c8342f8 | 2009-03-31 00:18:35 +0000 | [diff] [blame] | 1042 | hex "Bank 1 (AMBCTL0.H)" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1043 | default 0x7BB0 |
Michael Hennerich | 197fba5 | 2008-05-07 17:03:27 +0800 | [diff] [blame] | 1044 | default 0x5558 if BF54x |
Mike Frysinger | c8342f8 | 2009-03-31 00:18:35 +0000 | [diff] [blame] | 1045 | help |
| 1046 | These are the high 16 bits of the EBIU_AMBCTL0 MMR which are |
| 1047 | used to control the Asynchronous Memory Bank 1 settings. |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1048 | |
| 1049 | config BANK_2 |
Mike Frysinger | c8342f8 | 2009-03-31 00:18:35 +0000 | [diff] [blame] | 1050 | hex "Bank 2 (AMBCTL1.L)" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1051 | default 0x7BB0 |
Mike Frysinger | c8342f8 | 2009-03-31 00:18:35 +0000 | [diff] [blame] | 1052 | help |
| 1053 | These are the low 16 bits of the EBIU_AMBCTL1 MMR which are |
| 1054 | used to control the Asynchronous Memory Bank 2 settings. |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1055 | |
| 1056 | config BANK_3 |
Mike Frysinger | c8342f8 | 2009-03-31 00:18:35 +0000 | [diff] [blame] | 1057 | hex "Bank 3 (AMBCTL1.H)" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1058 | default 0x99B3 |
Mike Frysinger | c8342f8 | 2009-03-31 00:18:35 +0000 | [diff] [blame] | 1059 | help |
| 1060 | These are the high 16 bits of the EBIU_AMBCTL1 MMR which are |
| 1061 | used to control the Asynchronous Memory Bank 3 settings. |
| 1062 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1063 | endmenu |
| 1064 | |
Sonic Zhang | e40540b | 2007-11-21 23:49:52 +0800 | [diff] [blame] | 1065 | config EBIU_MBSCTLVAL |
| 1066 | hex "EBIU Bank Select Control Register" |
| 1067 | depends on BF54x |
| 1068 | default 0 |
| 1069 | |
| 1070 | config EBIU_MODEVAL |
| 1071 | hex "Flash Memory Mode Control Register" |
| 1072 | depends on BF54x |
| 1073 | default 1 |
| 1074 | |
| 1075 | config EBIU_FCTLVAL |
| 1076 | hex "Flash Memory Bank Control Register" |
| 1077 | depends on BF54x |
| 1078 | default 6 |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1079 | endmenu |
| 1080 | |
| 1081 | ############################################################################# |
| 1082 | menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" |
| 1083 | |
| 1084 | config PCI |
| 1085 | bool "PCI support" |
Adrian Bunk | a95ca3b | 2008-08-27 10:55:05 +0800 | [diff] [blame] | 1086 | depends on BROKEN |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1087 | help |
| 1088 | Support for PCI bus. |
| 1089 | |
| 1090 | source "drivers/pci/Kconfig" |
| 1091 | |
| 1092 | config HOTPLUG |
| 1093 | bool "Support for hot-pluggable device" |
| 1094 | help |
| 1095 | Say Y here if you want to plug devices into your computer while |
| 1096 | the system is running, and be able to use them quickly. In many |
| 1097 | cases, the devices can likewise be unplugged at any time too. |
| 1098 | |
| 1099 | One well known example of this is PCMCIA- or PC-cards, credit-card |
| 1100 | size devices such as network cards, modems or hard drives which are |
| 1101 | plugged into slots found on all modern laptop computers. Another |
| 1102 | example, used on modern desktops as well as laptops, is USB. |
| 1103 | |
Johannes Berg | a81792f | 2008-07-08 19:00:25 +0200 | [diff] [blame] | 1104 | Enable HOTPLUG and build a modular kernel. Get agent software |
| 1105 | (from <http://linux-hotplug.sourceforge.net/>) and install it. |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1106 | Then your kernel will automatically call out to a user mode "policy |
| 1107 | agent" (/sbin/hotplug) to load modules and set up software needed |
| 1108 | to use devices as you hotplug them. |
| 1109 | |
| 1110 | source "drivers/pcmcia/Kconfig" |
| 1111 | |
| 1112 | source "drivers/pci/hotplug/Kconfig" |
| 1113 | |
| 1114 | endmenu |
| 1115 | |
| 1116 | menu "Executable file formats" |
| 1117 | |
| 1118 | source "fs/Kconfig.binfmt" |
| 1119 | |
| 1120 | endmenu |
| 1121 | |
| 1122 | menu "Power management options" |
| 1123 | source "kernel/power/Kconfig" |
| 1124 | |
Johannes Berg | f4cb570 | 2007-12-08 02:14:00 +0100 | [diff] [blame] | 1125 | config ARCH_SUSPEND_POSSIBLE |
| 1126 | def_bool y |
| 1127 | depends on !SMP |
| 1128 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1129 | choice |
Michael Hennerich | 1efc80b | 2008-07-19 16:57:32 +0800 | [diff] [blame] | 1130 | prompt "Standby Power Saving Mode" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1131 | depends on PM |
Michael Hennerich | cfefe3c | 2008-02-09 04:12:37 +0800 | [diff] [blame] | 1132 | default PM_BFIN_SLEEP_DEEPER |
| 1133 | config PM_BFIN_SLEEP_DEEPER |
| 1134 | bool "Sleep Deeper" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1135 | help |
Michael Hennerich | cfefe3c | 2008-02-09 04:12:37 +0800 | [diff] [blame] | 1136 | Sleep "Deeper" Mode (High Power Savings) - This mode reduces dynamic |
| 1137 | power dissipation by disabling the clock to the processor core (CCLK). |
| 1138 | Furthermore, Standby sets the internal power supply voltage (VDDINT) |
| 1139 | to 0.85 V to provide the greatest power savings, while preserving the |
| 1140 | processor state. |
| 1141 | The PLL and system clock (SCLK) continue to operate at a very low |
| 1142 | frequency of about 3.3 MHz. To preserve data integrity in the SDRAM, |
| 1143 | the SDRAM is put into Self Refresh Mode. Typically an external event |
| 1144 | such as GPIO interrupt or RTC activity wakes up the processor. |
| 1145 | Various Peripherals such as UART, SPORT, PPI may not function as |
| 1146 | normal during Sleep Deeper, due to the reduced SCLK frequency. |
| 1147 | When in the sleep mode, system DMA access to L1 memory is not supported. |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1148 | |
Michael Hennerich | 1efc80b | 2008-07-19 16:57:32 +0800 | [diff] [blame] | 1149 | If unsure, select "Sleep Deeper". |
| 1150 | |
Michael Hennerich | cfefe3c | 2008-02-09 04:12:37 +0800 | [diff] [blame] | 1151 | config PM_BFIN_SLEEP |
| 1152 | bool "Sleep" |
| 1153 | help |
| 1154 | Sleep Mode (High Power Savings) - The sleep mode reduces power |
| 1155 | dissipation by disabling the clock to the processor core (CCLK). |
| 1156 | The PLL and system clock (SCLK), however, continue to operate in |
| 1157 | this mode. Typically an external event or RTC activity will wake |
Michael Hennerich | 1efc80b | 2008-07-19 16:57:32 +0800 | [diff] [blame] | 1158 | up the processor. When in the sleep mode, system DMA access to L1 |
| 1159 | memory is not supported. |
| 1160 | |
| 1161 | If unsure, select "Sleep Deeper". |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1162 | endchoice |
| 1163 | |
Michael Hennerich | cfefe3c | 2008-02-09 04:12:37 +0800 | [diff] [blame] | 1164 | config PM_WAKEUP_BY_GPIO |
Michael Hennerich | 1efc80b | 2008-07-19 16:57:32 +0800 | [diff] [blame] | 1165 | bool "Allow Wakeup from Standby by GPIO" |
Michael Hennerich | ff19fed | 2009-03-04 17:35:51 +0800 | [diff] [blame] | 1166 | depends on PM && !BF54x |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1167 | |
| 1168 | config PM_WAKEUP_GPIO_NUMBER |
Michael Hennerich | 1efc80b | 2008-07-19 16:57:32 +0800 | [diff] [blame] | 1169 | int "GPIO number" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1170 | range 0 47 |
| 1171 | depends on PM_WAKEUP_BY_GPIO |
Mike Frysinger | d1a3336 | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 1172 | default 2 |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1173 | |
| 1174 | choice |
| 1175 | prompt "GPIO Polarity" |
| 1176 | depends on PM_WAKEUP_BY_GPIO |
| 1177 | default PM_WAKEUP_GPIO_POLAR_H |
| 1178 | config PM_WAKEUP_GPIO_POLAR_H |
| 1179 | bool "Active High" |
| 1180 | config PM_WAKEUP_GPIO_POLAR_L |
| 1181 | bool "Active Low" |
| 1182 | config PM_WAKEUP_GPIO_POLAR_EDGE_F |
| 1183 | bool "Falling EDGE" |
| 1184 | config PM_WAKEUP_GPIO_POLAR_EDGE_R |
| 1185 | bool "Rising EDGE" |
| 1186 | config PM_WAKEUP_GPIO_POLAR_EDGE_B |
| 1187 | bool "Both EDGE" |
| 1188 | endchoice |
| 1189 | |
Michael Hennerich | 1efc80b | 2008-07-19 16:57:32 +0800 | [diff] [blame] | 1190 | comment "Possible Suspend Mem / Hibernate Wake-Up Sources" |
| 1191 | depends on PM |
| 1192 | |
Michael Hennerich | 1efc80b | 2008-07-19 16:57:32 +0800 | [diff] [blame] | 1193 | config PM_BFIN_WAKE_PH6 |
| 1194 | bool "Allow Wake-Up from on-chip PHY or PH6 GP" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 1195 | depends on PM && (BF51x || BF52x || BF534 || BF536 || BF537) |
Michael Hennerich | 1efc80b | 2008-07-19 16:57:32 +0800 | [diff] [blame] | 1196 | default n |
| 1197 | help |
| 1198 | Enable PHY and PH6 GP Wake-Up (Voltage Regulator Power-Up) |
| 1199 | |
Michael Hennerich | 1efc80b | 2008-07-19 16:57:32 +0800 | [diff] [blame] | 1200 | config PM_BFIN_WAKE_GP |
| 1201 | bool "Allow Wake-Up from GPIOs" |
| 1202 | depends on PM && BF54x |
| 1203 | default n |
| 1204 | help |
| 1205 | Enable General-Purpose Wake-Up (Voltage Regulator Power-Up) |
Michael Hennerich | 1998628 | 2009-03-05 16:45:55 +0800 | [diff] [blame] | 1206 | (all processors, except ADSP-BF549). This option sets |
| 1207 | the general-purpose wake-up enable (GPWE) control bit to enable |
| 1208 | wake-up upon detection of an active low signal on the /GPW (PH7) pin. |
| 1209 | On ADSP-BF549 this option enables the the same functionality on the |
| 1210 | /MRXON pin also PH7. |
| 1211 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1212 | endmenu |
| 1213 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1214 | menu "CPU Frequency scaling" |
| 1215 | |
| 1216 | source "drivers/cpufreq/Kconfig" |
| 1217 | |
Michael Hennerich | 5ad2ca5 | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 1218 | config BFIN_CPU_FREQ |
| 1219 | bool |
| 1220 | depends on CPU_FREQ |
| 1221 | select CPU_FREQ_TABLE |
| 1222 | default y |
| 1223 | |
Michael Hennerich | 14b0320 | 2008-05-07 11:41:26 +0800 | [diff] [blame] | 1224 | config CPU_VOLTAGE |
| 1225 | bool "CPU Voltage scaling" |
Michael Hennerich | 73feb5c | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 1226 | depends on EXPERIMENTAL |
Michael Hennerich | 14b0320 | 2008-05-07 11:41:26 +0800 | [diff] [blame] | 1227 | depends on CPU_FREQ |
| 1228 | default n |
| 1229 | help |
| 1230 | Say Y here if you want CPU voltage scaling according to the CPU frequency. |
| 1231 | This option violates the PLL BYPASS recommendation in the Blackfin Processor |
Michael Hennerich | 73feb5c | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 1232 | manuals. There is a theoretical risk that during VDDINT transitions |
Michael Hennerich | 14b0320 | 2008-05-07 11:41:26 +0800 | [diff] [blame] | 1233 | the PLL may unlock. |
| 1234 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1235 | endmenu |
| 1236 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1237 | source "net/Kconfig" |
| 1238 | |
| 1239 | source "drivers/Kconfig" |
| 1240 | |
| 1241 | source "fs/Kconfig" |
| 1242 | |
Mike Frysinger | 74ce832 | 2007-11-21 23:50:49 +0800 | [diff] [blame] | 1243 | source "arch/blackfin/Kconfig.debug" |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1244 | |
| 1245 | source "security/Kconfig" |
| 1246 | |
| 1247 | source "crypto/Kconfig" |
| 1248 | |
| 1249 | source "lib/Kconfig" |