diff options
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 75 |
1 files changed, 56 insertions, 19 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 4154ff1101fa..8102c79aaa94 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -162,16 +162,28 @@ config BF549 | |||
162 | config BF561 | 162 | config BF561 |
163 | bool "BF561" | 163 | bool "BF561" |
164 | help | 164 | help |
165 | Not Supported Yet - Work in progress - BF561 Processor Support. | 165 | BF561 Processor Support. |
166 | 166 | ||
167 | endchoice | 167 | endchoice |
168 | 168 | ||
169 | config BF_REV_MIN | ||
170 | int | ||
171 | default 0 if (BF52x || BF54x) | ||
172 | default 2 if (BF537 || BF536 || BF534) | ||
173 | default 3 if (BF561 ||BF533 || BF532 || BF531) | ||
174 | |||
175 | config BF_REV_MAX | ||
176 | int | ||
177 | default 2 if (BF52x || BF54x) | ||
178 | default 3 if (BF537 || BF536 || BF534) | ||
179 | default 5 if (BF561) | ||
180 | default 6 if (BF533 || BF532 || BF531) | ||
181 | |||
169 | choice | 182 | choice |
170 | prompt "Silicon Rev" | 183 | prompt "Silicon Rev" |
171 | default BF_REV_0_1 if BF527 | 184 | default BF_REV_0_1 if (BF52x || BF54x) |
172 | default BF_REV_0_2 if BF537 | 185 | default BF_REV_0_2 if (BF534 || BF536 || BF537) |
173 | default BF_REV_0_3 if BF533 | 186 | default BF_REV_0_3 if (BF531 || BF532 || BF533 || BF561) |
174 | default BF_REV_0_0 if BF549 | ||
175 | 187 | ||
176 | config BF_REV_0_0 | 188 | config BF_REV_0_0 |
177 | bool "0.0" | 189 | bool "0.0" |
@@ -183,7 +195,7 @@ config BF_REV_0_1 | |||
183 | 195 | ||
184 | config BF_REV_0_2 | 196 | config BF_REV_0_2 |
185 | bool "0.2" | 197 | bool "0.2" |
186 | depends on (BF537 || BF536 || BF534) | 198 | depends on (BF52x || BF537 || BF536 || BF534 || BF54x) |
187 | 199 | ||
188 | config BF_REV_0_3 | 200 | config BF_REV_0_3 |
189 | bool "0.3" | 201 | bool "0.3" |
@@ -197,6 +209,10 @@ config BF_REV_0_5 | |||
197 | bool "0.5" | 209 | bool "0.5" |
198 | depends on (BF561 || BF533 || BF532 || BF531) | 210 | depends on (BF561 || BF533 || BF532 || BF531) |
199 | 211 | ||
212 | config BF_REV_0_6 | ||
213 | bool "0.6" | ||
214 | depends on (BF533 || BF532 || BF531) | ||
215 | |||
200 | config BF_REV_ANY | 216 | config BF_REV_ANY |
201 | bool "any" | 217 | bool "any" |
202 | 218 | ||
@@ -249,7 +265,7 @@ config MEM_MT48LC8M32B2B5_7 | |||
249 | 265 | ||
250 | config MEM_MT48LC32M16A2TG_75 | 266 | config MEM_MT48LC32M16A2TG_75 |
251 | bool | 267 | bool |
252 | depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP) | 268 | depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP || BFIN526_EZBRD) |
253 | default y | 269 | default y |
254 | 270 | ||
255 | source "arch/blackfin/mach-bf527/Kconfig" | 271 | source "arch/blackfin/mach-bf527/Kconfig" |
@@ -286,13 +302,20 @@ config BOOT_LOAD | |||
286 | memory region is used to capture NULL pointer references as well | 302 | memory region is used to capture NULL pointer references as well |
287 | as some core kernel functions. | 303 | as some core kernel functions. |
288 | 304 | ||
305 | config ROM_BASE | ||
306 | hex "Kernel ROM Base" | ||
307 | default "0x20040000" | ||
308 | range 0x20000000 0x20400000 if !(BF54x || BF561) | ||
309 | range 0x20000000 0x30000000 if (BF54x || BF561) | ||
310 | help | ||
311 | |||
289 | comment "Clock/PLL Setup" | 312 | comment "Clock/PLL Setup" |
290 | 313 | ||
291 | config CLKIN_HZ | 314 | config CLKIN_HZ |
292 | int "Frequency of the crystal on the board in Hz" | 315 | int "Frequency of the crystal on the board in Hz" |
293 | default "11059200" if BFIN533_STAMP | 316 | default "11059200" if BFIN533_STAMP |
294 | default "27000000" if BFIN533_EZKIT | 317 | default "27000000" if BFIN533_EZKIT |
295 | default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS || BLACKSTAMP) | 318 | default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD) |
296 | default "30000000" if BFIN561_EZKIT | 319 | default "30000000" if BFIN561_EZKIT |
297 | default "24576000" if PNAV10 | 320 | default "24576000" if PNAV10 |
298 | default "10000000" if BFIN532_IP0X | 321 | default "10000000" if BFIN532_IP0X |
@@ -332,7 +355,7 @@ config VCO_MULT | |||
332 | default "22" if BFIN533_BLUETECHNIX_CM | 355 | default "22" if BFIN533_BLUETECHNIX_CM |
333 | default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM) | 356 | default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM) |
334 | default "20" if BFIN561_EZKIT | 357 | default "20" if BFIN561_EZKIT |
335 | default "16" if (H8606_HVSISTEMAS || BLACKSTAMP) | 358 | default "16" if (H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD) |
336 | help | 359 | help |
337 | This controls the frequency of the on-chip PLL. This can be between 1 and 64. | 360 | This controls the frequency of the on-chip PLL. This can be between 1 and 64. |
338 | PLL Frequency = (Crystal Frequency) * (this setting) | 361 | PLL Frequency = (Crystal Frequency) * (this setting) |
@@ -368,14 +391,6 @@ config SCLK_DIV | |||
368 | This can be between 1 and 15 | 391 | This can be between 1 and 15 |
369 | System Clock = (PLL frequency) / (this setting) | 392 | System Clock = (PLL frequency) / (this setting) |
370 | 393 | ||
371 | config MAX_MEM_SIZE | ||
372 | int "Max SDRAM Memory Size in MBytes" | ||
373 | depends on !MPU | ||
374 | default 512 | ||
375 | help | ||
376 | This is the max memory size that the kernel will create CPLB | ||
377 | tables for. Your system will not be able to handle any more. | ||
378 | |||
379 | choice | 394 | choice |
380 | prompt "DDR SDRAM Chip Type" | 395 | prompt "DDR SDRAM Chip Type" |
381 | depends on BFIN_KERNEL_CLOCK | 396 | depends on BFIN_KERNEL_CLOCK |
@@ -389,6 +404,14 @@ config MEM_MT46V32M16_5B | |||
389 | bool "MT46V32M16_5B" | 404 | bool "MT46V32M16_5B" |
390 | endchoice | 405 | endchoice |
391 | 406 | ||
407 | config MAX_MEM_SIZE | ||
408 | int "Max SDRAM Memory Size in MBytes" | ||
409 | depends on !MPU | ||
410 | default 512 | ||
411 | help | ||
412 | This is the max memory size that the kernel will create CPLB | ||
413 | tables for. Your system will not be able to handle any more. | ||
414 | |||
392 | # | 415 | # |
393 | # Max & Min Speeds for various Chips | 416 | # Max & Min Speeds for various Chips |
394 | # | 417 | # |
@@ -455,8 +478,6 @@ config CYCLES_CLOCKSOURCE | |||
455 | 478 | ||
456 | source kernel/time/Kconfig | 479 | source kernel/time/Kconfig |
457 | 480 | ||
458 | comment "Memory Setup" | ||
459 | |||
460 | comment "Misc" | 481 | comment "Misc" |
461 | 482 | ||
462 | choice | 483 | choice |
@@ -622,6 +643,15 @@ config CPLB_SWITCH_TAB_L1 | |||
622 | If enabled, the CPLB Switch Tables are linked | 643 | If enabled, the CPLB Switch Tables are linked |
623 | into L1 data memory. (less latency) | 644 | into L1 data memory. (less latency) |
624 | 645 | ||
646 | config APP_STACK_L1 | ||
647 | bool "Support locating application stack in L1 Scratch Memory" | ||
648 | default y | ||
649 | help | ||
650 | If enabled the application stack can be located in L1 | ||
651 | scratch memory (less latency). | ||
652 | |||
653 | Currently only works with FLAT binaries. | ||
654 | |||
625 | comment "Speed Optimizations" | 655 | comment "Speed Optimizations" |
626 | config BFIN_INS_LOWOVERHEAD | 656 | config BFIN_INS_LOWOVERHEAD |
627 | bool "ins[bwl] low overhead, higher interrupt latency" | 657 | bool "ins[bwl] low overhead, higher interrupt latency" |
@@ -755,6 +785,13 @@ config BFIN_WT | |||
755 | 785 | ||
756 | endchoice | 786 | endchoice |
757 | 787 | ||
788 | config BFIN_L2_CACHEABLE | ||
789 | bool "Cache L2 SRAM" | ||
790 | depends on (BFIN_DCACHE || BFIN_ICACHE) && (BF54x || BF561) | ||
791 | default n | ||
792 | help | ||
793 | Select to make L2 SRAM cacheable in L1 data and instruction cache. | ||
794 | |||
758 | config MPU | 795 | config MPU |
759 | bool "Enable the memory protection unit (EXPERIMENTAL)" | 796 | bool "Enable the memory protection unit (EXPERIMENTAL)" |
760 | default n | 797 | default n |