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