diff options
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 314 |
1 files changed, 34 insertions, 280 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 9f9de3e95826..2a3a7ea5958c 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -3,7 +3,7 @@ | |||
3 | # see Documentation/kbuild/kconfig-language.txt. | 3 | # see Documentation/kbuild/kconfig-language.txt. |
4 | # | 4 | # |
5 | 5 | ||
6 | mainmenu "uClinux/Blackfin (w/o MMU) Kernel Configuration" | 6 | mainmenu "Blackfin Kernel Configuration" |
7 | 7 | ||
8 | config MMU | 8 | config MMU |
9 | bool | 9 | bool |
@@ -29,10 +29,6 @@ config ZONE_DMA | |||
29 | bool | 29 | bool |
30 | default y | 30 | default y |
31 | 31 | ||
32 | config BFIN | ||
33 | bool | ||
34 | default y | ||
35 | |||
36 | config SEMAPHORE_SLEEPERS | 32 | config SEMAPHORE_SLEEPERS |
37 | bool | 33 | bool |
38 | default y | 34 | default y |
@@ -50,7 +46,7 @@ config GENERIC_HARDIRQS | |||
50 | default y | 46 | default y |
51 | 47 | ||
52 | config GENERIC_IRQ_PROBE | 48 | config GENERIC_IRQ_PROBE |
53 | bool | 49 | bool |
54 | default y | 50 | default y |
55 | 51 | ||
56 | config GENERIC_TIME | 52 | config GENERIC_TIME |
@@ -69,11 +65,6 @@ config GENERIC_CALIBRATE_DELAY | |||
69 | bool | 65 | bool |
70 | default y | 66 | default y |
71 | 67 | ||
72 | config IRQCHIP_DEMUX_GPIO | ||
73 | bool | ||
74 | depends on (BF52x || BF53x || BF561 || BF54x) | ||
75 | default y | ||
76 | |||
77 | source "init/Kconfig" | 68 | source "init/Kconfig" |
78 | source "kernel/Kconfig.preempt" | 69 | source "kernel/Kconfig.preempt" |
79 | 70 | ||
@@ -140,6 +131,11 @@ config BF544 | |||
140 | help | 131 | help |
141 | BF544 Processor Support. | 132 | BF544 Processor Support. |
142 | 133 | ||
134 | config BF547 | ||
135 | bool "BF547" | ||
136 | help | ||
137 | BF547 Processor Support. | ||
138 | |||
143 | config BF548 | 139 | config BF548 |
144 | bool "BF548" | 140 | bool "BF548" |
145 | help | 141 | help |
@@ -166,11 +162,11 @@ choice | |||
166 | 162 | ||
167 | config BF_REV_0_0 | 163 | config BF_REV_0_0 |
168 | bool "0.0" | 164 | bool "0.0" |
169 | depends on (BF549 || BF527) | 165 | depends on (BF52x || BF54x) |
170 | 166 | ||
171 | config BF_REV_0_1 | 167 | config BF_REV_0_1 |
172 | bool "0.2" | 168 | bool "0.1" |
173 | depends on (BF549 || BF527) | 169 | depends on (BF52x || BF54x) |
174 | 170 | ||
175 | config BF_REV_0_2 | 171 | config BF_REV_0_2 |
176 | bool "0.2" | 172 | bool "0.2" |
@@ -208,7 +204,7 @@ config BF53x | |||
208 | 204 | ||
209 | config BF54x | 205 | config BF54x |
210 | bool | 206 | bool |
211 | depends on (BF542 || BF544 || BF548 || BF549) | 207 | depends on (BF542 || BF544 || BF547 || BF548 || BF549) |
212 | default y | 208 | default y |
213 | 209 | ||
214 | config BFIN_DUAL_CORE | 210 | config BFIN_DUAL_CORE |
@@ -221,95 +217,6 @@ config BFIN_SINGLE_CORE | |||
221 | depends on !BFIN_DUAL_CORE | 217 | depends on !BFIN_DUAL_CORE |
222 | default y | 218 | default y |
223 | 219 | ||
224 | choice | ||
225 | prompt "System type" | ||
226 | default BFIN533_STAMP | ||
227 | help | ||
228 | Do NOT change the board here. Please use the top level | ||
229 | configuration to ensure that all the other settings are | ||
230 | correct. | ||
231 | |||
232 | config BFIN527_EZKIT | ||
233 | bool "BF527-EZKIT" | ||
234 | depends on (BF522 || BF525 || BF527) | ||
235 | help | ||
236 | BF533-EZKIT-LITE board Support. | ||
237 | |||
238 | config BFIN533_EZKIT | ||
239 | bool "BF533-EZKIT" | ||
240 | depends on (BF533 || BF532 || BF531) | ||
241 | help | ||
242 | BF533-EZKIT-LITE board Support. | ||
243 | |||
244 | config BFIN533_STAMP | ||
245 | bool "BF533-STAMP" | ||
246 | depends on (BF533 || BF532 || BF531) | ||
247 | help | ||
248 | BF533-STAMP board Support. | ||
249 | |||
250 | config BFIN537_STAMP | ||
251 | bool "BF537-STAMP" | ||
252 | depends on (BF537 || BF536 || BF534) | ||
253 | help | ||
254 | BF537-STAMP board Support. | ||
255 | |||
256 | config BFIN533_BLUETECHNIX_CM | ||
257 | bool "Bluetechnix CM-BF533" | ||
258 | depends on (BF533) | ||
259 | help | ||
260 | CM-BF533 support for EVAL- and DEV-Board. | ||
261 | |||
262 | config BFIN537_BLUETECHNIX_CM | ||
263 | bool "Bluetechnix CM-BF537" | ||
264 | depends on (BF537) | ||
265 | help | ||
266 | CM-BF537 support for EVAL- and DEV-Board. | ||
267 | |||
268 | config BFIN548_EZKIT | ||
269 | bool "BF548-EZKIT" | ||
270 | depends on (BF548 || BF549) | ||
271 | help | ||
272 | BFIN548-EZKIT board Support. | ||
273 | |||
274 | config BFIN561_BLUETECHNIX_CM | ||
275 | bool "Bluetechnix CM-BF561" | ||
276 | depends on (BF561) | ||
277 | help | ||
278 | CM-BF561 support for EVAL- and DEV-Board. | ||
279 | |||
280 | config BFIN561_EZKIT | ||
281 | bool "BF561-EZKIT" | ||
282 | depends on (BF561) | ||
283 | help | ||
284 | BF561-EZKIT-LITE board Support. | ||
285 | |||
286 | config BFIN561_TEPLA | ||
287 | bool "BF561-TEPLA" | ||
288 | depends on (BF561) | ||
289 | help | ||
290 | BF561-TEPLA board Support. | ||
291 | |||
292 | config PNAV10 | ||
293 | bool "PNAV 1.0 board" | ||
294 | depends on (BF537) | ||
295 | help | ||
296 | PNAV 1.0 board Support. | ||
297 | |||
298 | config H8606_HVSISTEMAS | ||
299 | bool "HV Sistemas H8606" | ||
300 | depends on (BF532) | ||
301 | help | ||
302 | HV Sistemas H8606 board support. | ||
303 | |||
304 | config GENERIC_BOARD | ||
305 | bool "Custom" | ||
306 | depends on (BF537 || BF536 \ | ||
307 | || BF534 || BF561 || BF535 || BF533 || BF532 || BF531) | ||
308 | help | ||
309 | GENERIC or Custom board Support. | ||
310 | |||
311 | endchoice | ||
312 | |||
313 | config MEM_GENERIC_BOARD | 220 | config MEM_GENERIC_BOARD |
314 | bool | 221 | bool |
315 | depends on GENERIC_BOARD | 222 | depends on GENERIC_BOARD |
@@ -389,9 +296,9 @@ config BFIN_KERNEL_CLOCK | |||
389 | configuration. | 296 | configuration. |
390 | 297 | ||
391 | config PLL_BYPASS | 298 | config PLL_BYPASS |
392 | bool "Bypass PLL" | 299 | bool "Bypass PLL" |
393 | depends on BFIN_KERNEL_CLOCK | 300 | depends on BFIN_KERNEL_CLOCK |
394 | default n | 301 | default n |
395 | 302 | ||
396 | config CLKIN_HALF | 303 | config CLKIN_HALF |
397 | bool "Half Clock In" | 304 | bool "Half Clock In" |
@@ -468,11 +375,11 @@ config MAX_VCO_HZ | |||
468 | default 500000000 if BF534 | 375 | default 500000000 if BF534 |
469 | default 400000000 if BF536 | 376 | default 400000000 if BF536 |
470 | default 600000000 if BF537 | 377 | default 600000000 if BF537 |
471 | default 533000000 if BF538 | 378 | default 533333333 if BF538 |
472 | default 533000000 if BF539 | 379 | default 533333333 if BF539 |
473 | default 600000000 if BF542 | 380 | default 600000000 if BF542 |
474 | default 533000000 if BF544 | 381 | default 533333333 if BF544 |
475 | default 533000000 if BF549 | 382 | default 533333333 if BF549 |
476 | default 600000000 if BF561 | 383 | default 600000000 if BF561 |
477 | 384 | ||
478 | config MIN_VCO_HZ | 385 | config MIN_VCO_HZ |
@@ -481,7 +388,7 @@ config MIN_VCO_HZ | |||
481 | 388 | ||
482 | config MAX_SCLK_HZ | 389 | config MAX_SCLK_HZ |
483 | int | 390 | int |
484 | default 133000000 | 391 | default 133333333 |
485 | 392 | ||
486 | config MIN_SCLK_HZ | 393 | config MIN_SCLK_HZ |
487 | int | 394 | int |
@@ -959,6 +866,20 @@ config BANK_3 | |||
959 | default 0x99B3 | 866 | default 0x99B3 |
960 | endmenu | 867 | endmenu |
961 | 868 | ||
869 | config EBIU_MBSCTLVAL | ||
870 | hex "EBIU Bank Select Control Register" | ||
871 | depends on BF54x | ||
872 | default 0 | ||
873 | |||
874 | config EBIU_MODEVAL | ||
875 | hex "Flash Memory Mode Control Register" | ||
876 | depends on BF54x | ||
877 | default 1 | ||
878 | |||
879 | config EBIU_FCTLVAL | ||
880 | hex "Flash Memory Bank Control Register" | ||
881 | depends on BF54x | ||
882 | default 6 | ||
962 | endmenu | 883 | endmenu |
963 | 884 | ||
964 | ############################################################################# | 885 | ############################################################################# |
@@ -1075,174 +996,7 @@ source "fs/Kconfig" | |||
1075 | 996 | ||
1076 | source "kernel/Kconfig.instrumentation" | 997 | source "kernel/Kconfig.instrumentation" |
1077 | 998 | ||
1078 | menu "Kernel hacking" | 999 | source "arch/blackfin/Kconfig.debug" |
1079 | |||
1080 | source "lib/Kconfig.debug" | ||
1081 | |||
1082 | config DEBUG_HWERR | ||
1083 | bool "Hardware error interrupt debugging" | ||
1084 | depends on DEBUG_KERNEL | ||
1085 | help | ||
1086 | When enabled, the hardware error interrupt is never disabled, and | ||
1087 | will happen immediately when an error condition occurs. This comes | ||
1088 | at a slight cost in code size, but is necessary if you are getting | ||
1089 | hardware error interrupts and need to know where they are coming | ||
1090 | from. | ||
1091 | |||
1092 | config DEBUG_ICACHE_CHECK | ||
1093 | bool "Check Instruction cache coherency" | ||
1094 | depends on DEBUG_KERNEL | ||
1095 | depends on DEBUG_HWERR | ||
1096 | help | ||
1097 | Say Y here if you are getting weird unexplained errors. This will | ||
1098 | ensure that icache is what SDRAM says it should be by doing a | ||
1099 | byte wise comparison between SDRAM and instruction cache. This | ||
1100 | also relocates the irq_panic() function to L1 memory, (which is | ||
1101 | un-cached). | ||
1102 | |||
1103 | config DEBUG_HUNT_FOR_ZERO | ||
1104 | bool "Catch NULL pointer reads/writes" | ||
1105 | default y | ||
1106 | help | ||
1107 | Say Y here to catch reads/writes to anywhere in the memory range | ||
1108 | from 0x0000 - 0x0FFF (the first 4k) of memory. This is useful in | ||
1109 | catching common programming errors such as NULL pointer dereferences. | ||
1110 | |||
1111 | Misbehaving applications will be killed (generate a SEGV) while the | ||
1112 | kernel will trigger a panic. | ||
1113 | |||
1114 | Enabling this option will take up an extra entry in CPLB table. | ||
1115 | Otherwise, there is no extra overhead. | ||
1116 | |||
1117 | config DEBUG_BFIN_HWTRACE_ON | ||
1118 | bool "Turn on Blackfin's Hardware Trace" | ||
1119 | default y | ||
1120 | help | ||
1121 | All Blackfins include a Trace Unit which stores a history of the last | ||
1122 | 16 changes in program flow taken by the program sequencer. The history | ||
1123 | allows the user to recreate the program sequencer’s recent path. This | ||
1124 | can be handy when an application dies - we print out the execution | ||
1125 | path of how it got to the offending instruction. | ||
1126 | |||
1127 | By turning this off, you may save a tiny amount of power. | ||
1128 | |||
1129 | choice | ||
1130 | prompt "Omit loop Tracing" | ||
1131 | default DEBUG_BFIN_HWTRACE_COMPRESSION_OFF | ||
1132 | depends on DEBUG_BFIN_HWTRACE_ON | ||
1133 | help | ||
1134 | The trace buffer can be configured to omit recording of changes in | ||
1135 | program flow that match either the last entry or one of the last | ||
1136 | two entries. Omitting one of these entries from the record prevents | ||
1137 | the trace buffer from overflowing because of any sort of loop (for, do | ||
1138 | while, etc) in the program. | ||
1139 | |||
1140 | Because zero-overhead Hardware loops are not recorded in the trace buffer, | ||
1141 | this feature can be used to prevent trace overflow from loops that | ||
1142 | are nested four deep. | ||
1143 | |||
1144 | config DEBUG_BFIN_HWTRACE_COMPRESSION_OFF | ||
1145 | bool "Trace all Loops" | ||
1146 | help | ||
1147 | The trace buffer records all changes of flow | ||
1148 | |||
1149 | config DEBUG_BFIN_HWTRACE_COMPRESSION_ONE | ||
1150 | bool "Compress single-level loops" | ||
1151 | help | ||
1152 | The trace buffer does not record single loops - helpful if trace | ||
1153 | is spinning on a while or do loop. | ||
1154 | |||
1155 | config DEBUG_BFIN_HWTRACE_COMPRESSION_TWO | ||
1156 | bool "Compress two-level loops" | ||
1157 | help | ||
1158 | The trace buffer does not record loops two levels deep. Helpful if | ||
1159 | the trace is spinning in a nested loop | ||
1160 | |||
1161 | endchoice | ||
1162 | |||
1163 | config DEBUG_BFIN_HWTRACE_COMPRESSION | ||
1164 | int | ||
1165 | depends on DEBUG_BFIN_HWTRACE_ON | ||
1166 | default 0 if DEBUG_BFIN_HWTRACE_COMPRESSION_OFF | ||
1167 | default 1 if DEBUG_BFIN_HWTRACE_COMPRESSION_ONE | ||
1168 | default 2 if DEBUG_BFIN_HWTRACE_COMPRESSION_TWO | ||
1169 | |||
1170 | |||
1171 | config DEBUG_BFIN_HWTRACE_EXPAND | ||
1172 | bool "Expand Trace Buffer greater than 16 entries" | ||
1173 | depends on DEBUG_BFIN_HWTRACE_ON | ||
1174 | default n | ||
1175 | help | ||
1176 | By selecting this option, every time the 16 hardware entries in | ||
1177 | the Blackfin's HW Trace buffer are full, the kernel will move them | ||
1178 | into a software buffer, for dumping when there is an issue. This | ||
1179 | has a great impact on performance, (an interrupt every 16 change of | ||
1180 | flows) and should normally be turned off, except in those nasty | ||
1181 | debugging sessions | ||
1182 | |||
1183 | config DEBUG_BFIN_HWTRACE_EXPAND_LEN | ||
1184 | int "Size of Trace buffer (in power of 2k)" | ||
1185 | range 0 4 | ||
1186 | depends on DEBUG_BFIN_HWTRACE_EXPAND | ||
1187 | default 1 | ||
1188 | help | ||
1189 | This sets the size of the software buffer that the trace information | ||
1190 | is kept in. | ||
1191 | 0 for (2^0) 1k, or 256 entries, | ||
1192 | 1 for (2^1) 2k, or 512 entries, | ||
1193 | 2 for (2^2) 4k, or 1024 entries, | ||
1194 | 3 for (2^3) 8k, or 2048 entries, | ||
1195 | 4 for (2^4) 16k, or 4096 entries | ||
1196 | |||
1197 | config DEBUG_BFIN_NO_KERN_HWTRACE | ||
1198 | bool "Trace user apps (turn off hwtrace in kernel)" | ||
1199 | depends on DEBUG_BFIN_HWTRACE_ON | ||
1200 | default n | ||
1201 | help | ||
1202 | Some pieces of the kernel contain a lot of flow changes which can | ||
1203 | quickly fill up the hardware trace buffer. When debugging crashes, | ||
1204 | the hardware trace may indicate that the problem lies in kernel | ||
1205 | space when in reality an application is buggy. | ||
1206 | |||
1207 | Say Y here to disable hardware tracing in some known "jumpy" pieces | ||
1208 | of code so that the trace buffer will extend further back. | ||
1209 | |||
1210 | config EARLY_PRINTK | ||
1211 | bool "Early printk" | ||
1212 | default n | ||
1213 | help | ||
1214 | This option enables special console drivers which allow the kernel | ||
1215 | to print messages very early in the bootup process. | ||
1216 | |||
1217 | This is useful for kernel debugging when your machine crashes very | ||
1218 | early before the console code is initialized. After enabling this | ||
1219 | feature, you must add "earlyprintk=serial,uart0,57600" to the | ||
1220 | command line (bootargs). It is safe to say Y here in all cases, as | ||
1221 | all of this lives in the init section and is thrown away after the | ||
1222 | kernel boots completely. | ||
1223 | |||
1224 | config DUAL_CORE_TEST_MODULE | ||
1225 | tristate "Dual Core Test Module" | ||
1226 | depends on (BF561) | ||
1227 | default n | ||
1228 | help | ||
1229 | Say Y here to build-in dual core test module for dual core test. | ||
1230 | |||
1231 | config CPLB_INFO | ||
1232 | bool "Display the CPLB information" | ||
1233 | help | ||
1234 | Display the CPLB information. | ||
1235 | |||
1236 | config ACCESS_CHECK | ||
1237 | bool "Check the user pointer address" | ||
1238 | default y | ||
1239 | help | ||
1240 | Usually the pointer transfer from user space is checked to see if its | ||
1241 | address is in the kernel space. | ||
1242 | |||
1243 | Say N here to disable that check to improve the performance. | ||
1244 | |||
1245 | endmenu | ||
1246 | 1000 | ||
1247 | source "security/Kconfig" | 1001 | source "security/Kconfig" |
1248 | 1002 | ||