Kconfig 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "Blackfin Kernel Configuration"
  6. config MMU
  7. bool
  8. default n
  9. config FPU
  10. bool
  11. default n
  12. config RWSEM_GENERIC_SPINLOCK
  13. bool
  14. default y
  15. config RWSEM_XCHGADD_ALGORITHM
  16. bool
  17. default n
  18. config BLACKFIN
  19. bool
  20. default y
  21. select HAVE_IDE
  22. select HAVE_OPROFILE
  23. config ZONE_DMA
  24. bool
  25. default y
  26. config GENERIC_FIND_NEXT_BIT
  27. bool
  28. default y
  29. config GENERIC_HWEIGHT
  30. bool
  31. default y
  32. config GENERIC_HARDIRQS
  33. bool
  34. default y
  35. config GENERIC_IRQ_PROBE
  36. bool
  37. default y
  38. config GENERIC_GPIO
  39. bool
  40. default y
  41. config FORCE_MAX_ZONEORDER
  42. int
  43. default "14"
  44. config GENERIC_CALIBRATE_DELAY
  45. bool
  46. default y
  47. config HARDWARE_PM
  48. def_bool y
  49. depends on OPROFILE
  50. source "init/Kconfig"
  51. source "kernel/Kconfig.preempt"
  52. menu "Blackfin Processor Options"
  53. comment "Processor and Board Settings"
  54. choice
  55. prompt "CPU"
  56. default BF533
  57. config BF522
  58. bool "BF522"
  59. help
  60. BF522 Processor Support.
  61. config BF523
  62. bool "BF523"
  63. help
  64. BF523 Processor Support.
  65. config BF524
  66. bool "BF524"
  67. help
  68. BF524 Processor Support.
  69. config BF525
  70. bool "BF525"
  71. help
  72. BF525 Processor Support.
  73. config BF526
  74. bool "BF526"
  75. help
  76. BF526 Processor Support.
  77. config BF527
  78. bool "BF527"
  79. help
  80. BF527 Processor Support.
  81. config BF531
  82. bool "BF531"
  83. help
  84. BF531 Processor Support.
  85. config BF532
  86. bool "BF532"
  87. help
  88. BF532 Processor Support.
  89. config BF533
  90. bool "BF533"
  91. help
  92. BF533 Processor Support.
  93. config BF534
  94. bool "BF534"
  95. help
  96. BF534 Processor Support.
  97. config BF536
  98. bool "BF536"
  99. help
  100. BF536 Processor Support.
  101. config BF537
  102. bool "BF537"
  103. help
  104. BF537 Processor Support.
  105. config BF542
  106. bool "BF542"
  107. help
  108. BF542 Processor Support.
  109. config BF544
  110. bool "BF544"
  111. help
  112. BF544 Processor Support.
  113. config BF547
  114. bool "BF547"
  115. help
  116. BF547 Processor Support.
  117. config BF548
  118. bool "BF548"
  119. help
  120. BF548 Processor Support.
  121. config BF549
  122. bool "BF549"
  123. help
  124. BF549 Processor Support.
  125. config BF561
  126. bool "BF561"
  127. help
  128. Not Supported Yet - Work in progress - BF561 Processor Support.
  129. endchoice
  130. choice
  131. prompt "Silicon Rev"
  132. default BF_REV_0_1 if BF527
  133. default BF_REV_0_2 if BF537
  134. default BF_REV_0_3 if BF533
  135. default BF_REV_0_0 if BF549
  136. config BF_REV_0_0
  137. bool "0.0"
  138. depends on (BF52x || BF54x)
  139. config BF_REV_0_1
  140. bool "0.1"
  141. depends on (BF52x || BF54x)
  142. config BF_REV_0_2
  143. bool "0.2"
  144. depends on (BF537 || BF536 || BF534)
  145. config BF_REV_0_3
  146. bool "0.3"
  147. depends on (BF561 || BF537 || BF536 || BF534 || BF533 || BF532 || BF531)
  148. config BF_REV_0_4
  149. bool "0.4"
  150. depends on (BF561 || BF533 || BF532 || BF531)
  151. config BF_REV_0_5
  152. bool "0.5"
  153. depends on (BF561 || BF533 || BF532 || BF531)
  154. config BF_REV_ANY
  155. bool "any"
  156. config BF_REV_NONE
  157. bool "none"
  158. endchoice
  159. config BF52x
  160. bool
  161. depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527)
  162. default y
  163. config BF53x
  164. bool
  165. depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537)
  166. default y
  167. config BF54x
  168. bool
  169. depends on (BF542 || BF544 || BF547 || BF548 || BF549)
  170. default y
  171. config BFIN_DUAL_CORE
  172. bool
  173. depends on (BF561)
  174. default y
  175. config BFIN_SINGLE_CORE
  176. bool
  177. depends on !BFIN_DUAL_CORE
  178. default y
  179. config MEM_GENERIC_BOARD
  180. bool
  181. depends on GENERIC_BOARD
  182. default y
  183. config MEM_MT48LC64M4A2FB_7E
  184. bool
  185. depends on (BFIN533_STAMP)
  186. default y
  187. config MEM_MT48LC16M16A2TG_75
  188. bool
  189. depends on (BFIN533_EZKIT || BFIN561_EZKIT \
  190. || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM \
  191. || H8606_HVSISTEMAS)
  192. default y
  193. config MEM_MT48LC32M8A2_75
  194. bool
  195. depends on (BFIN537_STAMP || PNAV10)
  196. default y
  197. config MEM_MT48LC8M32B2B5_7
  198. bool
  199. depends on (BFIN561_BLUETECHNIX_CM)
  200. default y
  201. config MEM_MT48LC32M16A2TG_75
  202. bool
  203. depends on (BFIN527_EZKIT)
  204. default y
  205. source "arch/blackfin/mach-bf527/Kconfig"
  206. source "arch/blackfin/mach-bf533/Kconfig"
  207. source "arch/blackfin/mach-bf561/Kconfig"
  208. source "arch/blackfin/mach-bf537/Kconfig"
  209. source "arch/blackfin/mach-bf548/Kconfig"
  210. menu "Board customizations"
  211. config CMDLINE_BOOL
  212. bool "Default bootloader kernel arguments"
  213. config CMDLINE
  214. string "Initial kernel command string"
  215. depends on CMDLINE_BOOL
  216. default "console=ttyBF0,57600"
  217. help
  218. If you don't have a boot loader capable of passing a command line string
  219. to the kernel, you may specify one here. As a minimum, you should specify
  220. the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
  221. comment "Clock/PLL Setup"
  222. config CLKIN_HZ
  223. int "Crystal Frequency in Hz"
  224. default "11059200" if BFIN533_STAMP
  225. default "27000000" if BFIN533_EZKIT
  226. default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS)
  227. default "30000000" if BFIN561_EZKIT
  228. default "24576000" if PNAV10
  229. help
  230. The frequency of CLKIN crystal oscillator on the board in Hz.
  231. config BFIN_KERNEL_CLOCK
  232. bool "Re-program Clocks while Kernel boots?"
  233. default n
  234. help
  235. This option decides if kernel clocks are re-programed from the
  236. bootloader settings. If the clocks are not set, the SDRAM settings
  237. are also not changed, and the Bootloader does 100% of the hardware
  238. configuration.
  239. config PLL_BYPASS
  240. bool "Bypass PLL"
  241. depends on BFIN_KERNEL_CLOCK
  242. default n
  243. config CLKIN_HALF
  244. bool "Half Clock In"
  245. depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
  246. default n
  247. help
  248. If this is set the clock will be divided by 2, before it goes to the PLL.
  249. config VCO_MULT
  250. int "VCO Multiplier"
  251. depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
  252. range 1 64
  253. default "22" if BFIN533_EZKIT
  254. default "45" if BFIN533_STAMP
  255. default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT)
  256. default "22" if BFIN533_BLUETECHNIX_CM
  257. default "20" if BFIN537_BLUETECHNIX_CM
  258. default "20" if BFIN561_BLUETECHNIX_CM
  259. default "20" if BFIN561_EZKIT
  260. default "16" if H8606_HVSISTEMAS
  261. help
  262. This controls the frequency of the on-chip PLL. This can be between 1 and 64.
  263. PLL Frequency = (Crystal Frequency) * (this setting)
  264. choice
  265. prompt "Core Clock Divider"
  266. depends on BFIN_KERNEL_CLOCK
  267. default CCLK_DIV_1
  268. help
  269. This sets the frequency of the core. It can be 1, 2, 4 or 8
  270. Core Frequency = (PLL frequency) / (this setting)
  271. config CCLK_DIV_1
  272. bool "1"
  273. config CCLK_DIV_2
  274. bool "2"
  275. config CCLK_DIV_4
  276. bool "4"
  277. config CCLK_DIV_8
  278. bool "8"
  279. endchoice
  280. config SCLK_DIV
  281. int "System Clock Divider"
  282. depends on BFIN_KERNEL_CLOCK
  283. range 1 15
  284. default 5 if BFIN533_EZKIT
  285. default 5 if BFIN533_STAMP
  286. default 4 if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT)
  287. default 5 if BFIN533_BLUETECHNIX_CM
  288. default 4 if BFIN537_BLUETECHNIX_CM
  289. default 4 if BFIN561_BLUETECHNIX_CM
  290. default 5 if BFIN561_EZKIT
  291. default 3 if H8606_HVSISTEMAS
  292. help
  293. This sets the frequency of the system clock (including SDRAM or DDR).
  294. This can be between 1 and 15
  295. System Clock = (PLL frequency) / (this setting)
  296. #
  297. # Max & Min Speeds for various Chips
  298. #
  299. config MAX_VCO_HZ
  300. int
  301. default 600000000 if BF522
  302. default 400000000 if BF523
  303. default 400000000 if BF524
  304. default 600000000 if BF525
  305. default 400000000 if BF526
  306. default 600000000 if BF527
  307. default 400000000 if BF531
  308. default 400000000 if BF532
  309. default 750000000 if BF533
  310. default 500000000 if BF534
  311. default 400000000 if BF536
  312. default 600000000 if BF537
  313. default 533333333 if BF538
  314. default 533333333 if BF539
  315. default 600000000 if BF542
  316. default 533333333 if BF544
  317. default 600000000 if BF547
  318. default 600000000 if BF548
  319. default 533333333 if BF549
  320. default 600000000 if BF561
  321. config MIN_VCO_HZ
  322. int
  323. default 50000000
  324. config MAX_SCLK_HZ
  325. int
  326. default 133333333
  327. config MIN_SCLK_HZ
  328. int
  329. default 27000000
  330. comment "Kernel Timer/Scheduler"
  331. source kernel/Kconfig.hz
  332. config GENERIC_TIME
  333. bool "Generic time"
  334. default y
  335. config GENERIC_CLOCKEVENTS
  336. bool "Generic clock events"
  337. depends on GENERIC_TIME
  338. default y
  339. config CYCLES_CLOCKSOURCE
  340. bool "Use 'CYCLES' as a clocksource (EXPERIMENTAL)"
  341. depends on EXPERIMENTAL
  342. depends on GENERIC_CLOCKEVENTS
  343. depends on !BFIN_SCRATCH_REG_CYCLES
  344. default n
  345. help
  346. If you say Y here, you will enable support for using the 'cycles'
  347. registers as a clock source. Doing so means you will be unable to
  348. safely write to the 'cycles' register during runtime. You will
  349. still be able to read it (such as for performance monitoring), but
  350. writing the registers will most likely crash the kernel.
  351. source kernel/time/Kconfig
  352. comment "Memory Setup"
  353. config MEM_SIZE
  354. int "SDRAM Memory Size in MBytes"
  355. default 32 if BFIN533_EZKIT
  356. default 64 if BFIN527_EZKIT
  357. default 64 if BFIN537_STAMP
  358. default 64 if BFIN548_EZKIT
  359. default 64 if BFIN561_EZKIT
  360. default 128 if BFIN533_STAMP
  361. default 64 if PNAV10
  362. default 32 if H8606_HVSISTEMAS
  363. config MEM_ADD_WIDTH
  364. int "SDRAM Memory Address Width"
  365. depends on (!BF54x)
  366. default 9 if BFIN533_EZKIT
  367. default 9 if BFIN561_EZKIT
  368. default 9 if H8606_HVSISTEMAS
  369. default 10 if BFIN527_EZKIT
  370. default 10 if BFIN537_STAMP
  371. default 11 if BFIN533_STAMP
  372. default 10 if PNAV10
  373. choice
  374. prompt "DDR SDRAM Chip Type"
  375. depends on BFIN548_EZKIT
  376. default MEM_MT46V32M16_5B
  377. config MEM_MT46V32M16_6T
  378. bool "MT46V32M16_6T"
  379. config MEM_MT46V32M16_5B
  380. bool "MT46V32M16_5B"
  381. endchoice
  382. config ENET_FLASH_PIN
  383. int "PF port/pin used for flash and ethernet sharing"
  384. depends on (BFIN533_STAMP)
  385. default 0
  386. help
  387. PF port/pin used for flash and ethernet sharing to allow other PF
  388. pins to be used on other platforms without having to touch common
  389. code.
  390. For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc.
  391. config BOOT_LOAD
  392. hex "Kernel load address for booting"
  393. default "0x1000"
  394. range 0x1000 0x20000000
  395. help
  396. This option allows you to set the load address of the kernel.
  397. This can be useful if you are on a board which has a small amount
  398. of memory or you wish to reserve some memory at the beginning of
  399. the address space.
  400. Note that you need to keep this value above 4k (0x1000) as this
  401. memory region is used to capture NULL pointer references as well
  402. as some core kernel functions.
  403. choice
  404. prompt "Blackfin Exception Scratch Register"
  405. default BFIN_SCRATCH_REG_RETN
  406. help
  407. Select the resource to reserve for the Exception handler:
  408. - RETN: Non-Maskable Interrupt (NMI)
  409. - RETE: Exception Return (JTAG/ICE)
  410. - CYCLES: Performance counter
  411. If you are unsure, please select "RETN".
  412. config BFIN_SCRATCH_REG_RETN
  413. bool "RETN"
  414. help
  415. Use the RETN register in the Blackfin exception handler
  416. as a stack scratch register. This means you cannot
  417. safely use NMI on the Blackfin while running Linux, but
  418. you can debug the system with a JTAG ICE and use the
  419. CYCLES performance registers.
  420. If you are unsure, please select "RETN".
  421. config BFIN_SCRATCH_REG_RETE
  422. bool "RETE"
  423. help
  424. Use the RETE register in the Blackfin exception handler
  425. as a stack scratch register. This means you cannot
  426. safely use a JTAG ICE while debugging a Blackfin board,
  427. but you can safely use the CYCLES performance registers
  428. and the NMI.
  429. If you are unsure, please select "RETN".
  430. config BFIN_SCRATCH_REG_CYCLES
  431. bool "CYCLES"
  432. help
  433. Use the CYCLES register in the Blackfin exception handler
  434. as a stack scratch register. This means you cannot
  435. safely use the CYCLES performance registers on a Blackfin
  436. board at anytime, but you can debug the system with a JTAG
  437. ICE and use the NMI.
  438. If you are unsure, please select "RETN".
  439. endchoice
  440. endmenu
  441. menu "Blackfin Kernel Optimizations"
  442. comment "Memory Optimizations"
  443. config I_ENTRY_L1
  444. bool "Locate interrupt entry code in L1 Memory"
  445. default y
  446. help
  447. If enabled, interrupt entry code (STORE/RESTORE CONTEXT) is linked
  448. into L1 instruction memory. (less latency)
  449. config EXCPT_IRQ_SYSC_L1
  450. bool "Locate entire ASM lowlevel exception / interrupt - Syscall and CPLB handler code in L1 Memory"
  451. default y
  452. help
  453. If enabled, the entire ASM lowlevel exception and interrupt entry code
  454. (STORE/RESTORE CONTEXT) is linked into L1 instruction memory.
  455. (less latency)
  456. config DO_IRQ_L1
  457. bool "Locate frequently called do_irq dispatcher function in L1 Memory"
  458. default y
  459. help
  460. If enabled, the frequently called do_irq dispatcher function is linked
  461. into L1 instruction memory. (less latency)
  462. config CORE_TIMER_IRQ_L1
  463. bool "Locate frequently called timer_interrupt() function in L1 Memory"
  464. default y
  465. help
  466. If enabled, the frequently called timer_interrupt() function is linked
  467. into L1 instruction memory. (less latency)
  468. config IDLE_L1
  469. bool "Locate frequently idle function in L1 Memory"
  470. default y
  471. help
  472. If enabled, the frequently called idle function is linked
  473. into L1 instruction memory. (less latency)
  474. config SCHEDULE_L1
  475. bool "Locate kernel schedule function in L1 Memory"
  476. default y
  477. help
  478. If enabled, the frequently called kernel schedule is linked
  479. into L1 instruction memory. (less latency)
  480. config ARITHMETIC_OPS_L1
  481. bool "Locate kernel owned arithmetic functions in L1 Memory"
  482. default y
  483. help
  484. If enabled, arithmetic functions are linked
  485. into L1 instruction memory. (less latency)
  486. config ACCESS_OK_L1
  487. bool "Locate access_ok function in L1 Memory"
  488. default y
  489. help
  490. If enabled, the access_ok function is linked
  491. into L1 instruction memory. (less latency)
  492. config MEMSET_L1
  493. bool "Locate memset function in L1 Memory"
  494. default y
  495. help
  496. If enabled, the memset function is linked
  497. into L1 instruction memory. (less latency)
  498. config MEMCPY_L1
  499. bool "Locate memcpy function in L1 Memory"
  500. default y
  501. help
  502. If enabled, the memcpy function is linked
  503. into L1 instruction memory. (less latency)
  504. config SYS_BFIN_SPINLOCK_L1
  505. bool "Locate sys_bfin_spinlock function in L1 Memory"
  506. default y
  507. help
  508. If enabled, sys_bfin_spinlock function is linked
  509. into L1 instruction memory. (less latency)
  510. config IP_CHECKSUM_L1
  511. bool "Locate IP Checksum function in L1 Memory"
  512. default n
  513. help
  514. If enabled, the IP Checksum function is linked
  515. into L1 instruction memory. (less latency)
  516. config CACHELINE_ALIGNED_L1
  517. bool "Locate cacheline_aligned data to L1 Data Memory"
  518. default y if !BF54x
  519. default n if BF54x
  520. depends on !BF531
  521. help
  522. If enabled, cacheline_anligned data is linked
  523. into L1 data memory. (less latency)
  524. config SYSCALL_TAB_L1
  525. bool "Locate Syscall Table L1 Data Memory"
  526. default n
  527. depends on !BF531
  528. help
  529. If enabled, the Syscall LUT is linked
  530. into L1 data memory. (less latency)
  531. config CPLB_SWITCH_TAB_L1
  532. bool "Locate CPLB Switch Tables L1 Data Memory"
  533. default n
  534. depends on !BF531
  535. help
  536. If enabled, the CPLB Switch Tables are linked
  537. into L1 data memory. (less latency)
  538. endmenu
  539. choice
  540. prompt "Kernel executes from"
  541. help
  542. Choose the memory type that the kernel will be running in.
  543. config RAMKERNEL
  544. bool "RAM"
  545. help
  546. The kernel will be resident in RAM when running.
  547. config ROMKERNEL
  548. bool "ROM"
  549. help
  550. The kernel will be resident in FLASH/ROM when running.
  551. endchoice
  552. source "mm/Kconfig"
  553. config LARGE_ALLOCS
  554. bool "Allow allocating large blocks (> 1MB) of memory"
  555. help
  556. Allow the slab memory allocator to keep chains for very large
  557. memory sizes - upto 32MB. You may need this if your system has
  558. a lot of RAM, and you need to able to allocate very large
  559. contiguous chunks. If unsure, say N.
  560. config BFIN_GPTIMERS
  561. tristate "Enable Blackfin General Purpose Timers API"
  562. default n
  563. help
  564. Enable support for the General Purpose Timers API. If you
  565. are unsure, say N.
  566. To compile this driver as a module, choose M here: the module
  567. will be called gptimers.ko.
  568. config BFIN_DMA_5XX
  569. bool "Enable DMA Support"
  570. depends on (BF52x || BF53x || BF561 || BF54x)
  571. default y
  572. help
  573. DMA driver for BF5xx.
  574. choice
  575. prompt "Uncached SDRAM region"
  576. default DMA_UNCACHED_1M
  577. depends on BFIN_DMA_5XX
  578. config DMA_UNCACHED_2M
  579. bool "Enable 2M DMA region"
  580. config DMA_UNCACHED_1M
  581. bool "Enable 1M DMA region"
  582. config DMA_UNCACHED_NONE
  583. bool "Disable DMA region"
  584. endchoice
  585. comment "Cache Support"
  586. config BFIN_ICACHE
  587. bool "Enable ICACHE"
  588. config BFIN_DCACHE
  589. bool "Enable DCACHE"
  590. config BFIN_DCACHE_BANKA
  591. bool "Enable only 16k BankA DCACHE - BankB is SRAM"
  592. depends on BFIN_DCACHE && !BF531
  593. default n
  594. config BFIN_ICACHE_LOCK
  595. bool "Enable Instruction Cache Locking"
  596. choice
  597. prompt "Policy"
  598. depends on BFIN_DCACHE
  599. default BFIN_WB
  600. config BFIN_WB
  601. bool "Write back"
  602. help
  603. Write Back Policy:
  604. Cached data will be written back to SDRAM only when needed.
  605. This can give a nice increase in performance, but beware of
  606. broken drivers that do not properly invalidate/flush their
  607. cache.
  608. Write Through Policy:
  609. Cached data will always be written back to SDRAM when the
  610. cache is updated. This is a completely safe setting, but
  611. performance is worse than Write Back.
  612. If you are unsure of the options and you want to be safe,
  613. then go with Write Through.
  614. config BFIN_WT
  615. bool "Write through"
  616. help
  617. Write Back Policy:
  618. Cached data will be written back to SDRAM only when needed.
  619. This can give a nice increase in performance, but beware of
  620. broken drivers that do not properly invalidate/flush their
  621. cache.
  622. Write Through Policy:
  623. Cached data will always be written back to SDRAM when the
  624. cache is updated. This is a completely safe setting, but
  625. performance is worse than Write Back.
  626. If you are unsure of the options and you want to be safe,
  627. then go with Write Through.
  628. endchoice
  629. config L1_MAX_PIECE
  630. int "Set the max L1 SRAM pieces"
  631. default 16
  632. help
  633. Set the max memory pieces for the L1 SRAM allocation algorithm.
  634. Min value is 16. Max value is 1024.
  635. config MPU
  636. bool "Enable the memory protection unit (EXPERIMENTAL)"
  637. default n
  638. help
  639. Use the processor's MPU to protect applications from accessing
  640. memory they do not own. This comes at a performance penalty
  641. and is recommended only for debugging.
  642. comment "Asynchonous Memory Configuration"
  643. menu "EBIU_AMGCTL Global Control"
  644. config C_AMCKEN
  645. bool "Enable CLKOUT"
  646. default y
  647. config C_CDPRIO
  648. bool "DMA has priority over core for ext. accesses"
  649. default n
  650. config C_B0PEN
  651. depends on BF561
  652. bool "Bank 0 16 bit packing enable"
  653. default y
  654. config C_B1PEN
  655. depends on BF561
  656. bool "Bank 1 16 bit packing enable"
  657. default y
  658. config C_B2PEN
  659. depends on BF561
  660. bool "Bank 2 16 bit packing enable"
  661. default y
  662. config C_B3PEN
  663. depends on BF561
  664. bool "Bank 3 16 bit packing enable"
  665. default n
  666. choice
  667. prompt"Enable Asynchonous Memory Banks"
  668. default C_AMBEN_ALL
  669. config C_AMBEN
  670. bool "Disable All Banks"
  671. config C_AMBEN_B0
  672. bool "Enable Bank 0"
  673. config C_AMBEN_B0_B1
  674. bool "Enable Bank 0 & 1"
  675. config C_AMBEN_B0_B1_B2
  676. bool "Enable Bank 0 & 1 & 2"
  677. config C_AMBEN_ALL
  678. bool "Enable All Banks"
  679. endchoice
  680. endmenu
  681. menu "EBIU_AMBCTL Control"
  682. config BANK_0
  683. hex "Bank 0"
  684. default 0x7BB0
  685. config BANK_1
  686. hex "Bank 1"
  687. default 0x7BB0
  688. config BANK_2
  689. hex "Bank 2"
  690. default 0x7BB0
  691. config BANK_3
  692. hex "Bank 3"
  693. default 0x99B3
  694. endmenu
  695. config EBIU_MBSCTLVAL
  696. hex "EBIU Bank Select Control Register"
  697. depends on BF54x
  698. default 0
  699. config EBIU_MODEVAL
  700. hex "Flash Memory Mode Control Register"
  701. depends on BF54x
  702. default 1
  703. config EBIU_FCTLVAL
  704. hex "Flash Memory Bank Control Register"
  705. depends on BF54x
  706. default 6
  707. endmenu
  708. #############################################################################
  709. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  710. config PCI
  711. bool "PCI support"
  712. help
  713. Support for PCI bus.
  714. source "drivers/pci/Kconfig"
  715. config HOTPLUG
  716. bool "Support for hot-pluggable device"
  717. help
  718. Say Y here if you want to plug devices into your computer while
  719. the system is running, and be able to use them quickly. In many
  720. cases, the devices can likewise be unplugged at any time too.
  721. One well known example of this is PCMCIA- or PC-cards, credit-card
  722. size devices such as network cards, modems or hard drives which are
  723. plugged into slots found on all modern laptop computers. Another
  724. example, used on modern desktops as well as laptops, is USB.
  725. Enable HOTPLUG and KMOD, and build a modular kernel. Get agent
  726. software (at <http://linux-hotplug.sourceforge.net/>) and install it.
  727. Then your kernel will automatically call out to a user mode "policy
  728. agent" (/sbin/hotplug) to load modules and set up software needed
  729. to use devices as you hotplug them.
  730. source "drivers/pcmcia/Kconfig"
  731. source "drivers/pci/hotplug/Kconfig"
  732. endmenu
  733. menu "Executable file formats"
  734. source "fs/Kconfig.binfmt"
  735. endmenu
  736. menu "Power management options"
  737. source "kernel/power/Kconfig"
  738. config ARCH_SUSPEND_POSSIBLE
  739. def_bool y
  740. depends on !SMP
  741. choice
  742. prompt "Default Power Saving Mode"
  743. depends on PM
  744. default PM_BFIN_SLEEP_DEEPER
  745. config PM_BFIN_SLEEP_DEEPER
  746. bool "Sleep Deeper"
  747. help
  748. Sleep "Deeper" Mode (High Power Savings) - This mode reduces dynamic
  749. power dissipation by disabling the clock to the processor core (CCLK).
  750. Furthermore, Standby sets the internal power supply voltage (VDDINT)
  751. to 0.85 V to provide the greatest power savings, while preserving the
  752. processor state.
  753. The PLL and system clock (SCLK) continue to operate at a very low
  754. frequency of about 3.3 MHz. To preserve data integrity in the SDRAM,
  755. the SDRAM is put into Self Refresh Mode. Typically an external event
  756. such as GPIO interrupt or RTC activity wakes up the processor.
  757. Various Peripherals such as UART, SPORT, PPI may not function as
  758. normal during Sleep Deeper, due to the reduced SCLK frequency.
  759. When in the sleep mode, system DMA access to L1 memory is not supported.
  760. config PM_BFIN_SLEEP
  761. bool "Sleep"
  762. help
  763. Sleep Mode (High Power Savings) - The sleep mode reduces power
  764. dissipation by disabling the clock to the processor core (CCLK).
  765. The PLL and system clock (SCLK), however, continue to operate in
  766. this mode. Typically an external event or RTC activity will wake
  767. up the processor. When in the sleep mode,
  768. system DMA access to L1 memory is not supported.
  769. endchoice
  770. config PM_WAKEUP_BY_GPIO
  771. bool "Cause Wakeup Event by GPIO"
  772. config PM_WAKEUP_GPIO_NUMBER
  773. int "Wakeup GPIO number"
  774. range 0 47
  775. depends on PM_WAKEUP_BY_GPIO
  776. default 2 if BFIN537_STAMP
  777. choice
  778. prompt "GPIO Polarity"
  779. depends on PM_WAKEUP_BY_GPIO
  780. default PM_WAKEUP_GPIO_POLAR_H
  781. config PM_WAKEUP_GPIO_POLAR_H
  782. bool "Active High"
  783. config PM_WAKEUP_GPIO_POLAR_L
  784. bool "Active Low"
  785. config PM_WAKEUP_GPIO_POLAR_EDGE_F
  786. bool "Falling EDGE"
  787. config PM_WAKEUP_GPIO_POLAR_EDGE_R
  788. bool "Rising EDGE"
  789. config PM_WAKEUP_GPIO_POLAR_EDGE_B
  790. bool "Both EDGE"
  791. endchoice
  792. endmenu
  793. if (BF537 || BF533 || BF54x)
  794. menu "CPU Frequency scaling"
  795. source "drivers/cpufreq/Kconfig"
  796. config CPU_FREQ
  797. bool
  798. default n
  799. help
  800. If you want to enable this option, you should select the
  801. DPMC driver from Character Devices.
  802. endmenu
  803. endif
  804. source "net/Kconfig"
  805. source "drivers/Kconfig"
  806. source "fs/Kconfig"
  807. source "arch/blackfin/Kconfig.debug"
  808. source "security/Kconfig"
  809. source "crypto/Kconfig"
  810. source "lib/Kconfig"