Kconfig 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "uClinux/Blackfin (w/o MMU) 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. config ZONE_DMA
  22. bool
  23. default y
  24. config BFIN
  25. bool
  26. default y
  27. config SEMAPHORE_SLEEPERS
  28. bool
  29. default y
  30. config GENERIC_FIND_NEXT_BIT
  31. bool
  32. default y
  33. config GENERIC_HWEIGHT
  34. bool
  35. default y
  36. config GENERIC_HARDIRQS
  37. bool
  38. default y
  39. config GENERIC_IRQ_PROBE
  40. bool
  41. default y
  42. config GENERIC_TIME
  43. bool
  44. default n
  45. config GENERIC_CALIBRATE_DELAY
  46. bool
  47. default y
  48. config FORCE_MAX_ZONEORDER
  49. int
  50. default "14"
  51. config GENERIC_CALIBRATE_DELAY
  52. bool
  53. default y
  54. config IRQCHIP_DEMUX_GPIO
  55. bool
  56. depends on (BF53x || BF561 || BF54x)
  57. default y
  58. source "init/Kconfig"
  59. source "kernel/Kconfig.preempt"
  60. menu "Blackfin Processor Options"
  61. comment "Processor and Board Settings"
  62. choice
  63. prompt "CPU"
  64. default BF533
  65. config BF531
  66. bool "BF531"
  67. help
  68. BF531 Processor Support.
  69. config BF532
  70. bool "BF532"
  71. help
  72. BF532 Processor Support.
  73. config BF533
  74. bool "BF533"
  75. help
  76. BF533 Processor Support.
  77. config BF534
  78. bool "BF534"
  79. help
  80. BF534 Processor Support.
  81. config BF536
  82. bool "BF536"
  83. help
  84. BF536 Processor Support.
  85. config BF537
  86. bool "BF537"
  87. help
  88. BF537 Processor Support.
  89. config BF542
  90. bool "BF542"
  91. help
  92. BF542 Processor Support.
  93. config BF544
  94. bool "BF544"
  95. help
  96. BF544 Processor Support.
  97. config BF548
  98. bool "BF548"
  99. help
  100. BF548 Processor Support.
  101. config BF549
  102. bool "BF549"
  103. help
  104. BF549 Processor Support.
  105. config BF561
  106. bool "BF561"
  107. help
  108. Not Supported Yet - Work in progress - BF561 Processor Support.
  109. endchoice
  110. choice
  111. prompt "Silicon Rev"
  112. default BF_REV_0_2 if BF537
  113. default BF_REV_0_3 if BF533
  114. default BF_REV_0_0 if BF549
  115. config BF_REV_0_0
  116. bool "0.0"
  117. depends on (BF549)
  118. config BF_REV_0_2
  119. bool "0.2"
  120. depends on (BF537 || BF536 || BF534)
  121. config BF_REV_0_3
  122. bool "0.3"
  123. depends on (BF561 || BF537 || BF536 || BF534 || BF533 || BF532 || BF531)
  124. config BF_REV_0_4
  125. bool "0.4"
  126. depends on (BF561 || BF533 || BF532 || BF531)
  127. config BF_REV_0_5
  128. bool "0.5"
  129. depends on (BF561 || BF533 || BF532 || BF531)
  130. config BF_REV_ANY
  131. bool "any"
  132. config BF_REV_NONE
  133. bool "none"
  134. endchoice
  135. config BF53x
  136. bool
  137. depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537)
  138. default y
  139. config BF54x
  140. bool
  141. depends on (BF542 || BF544 || BF548 || BF549)
  142. default y
  143. config BFIN_DUAL_CORE
  144. bool
  145. depends on (BF561)
  146. default y
  147. config BFIN_SINGLE_CORE
  148. bool
  149. depends on !BFIN_DUAL_CORE
  150. default y
  151. choice
  152. prompt "System type"
  153. default BFIN533_STAMP
  154. help
  155. Do NOT change the board here. Please use the top level
  156. configuration to ensure that all the other settings are
  157. correct.
  158. config BFIN533_EZKIT
  159. bool "BF533-EZKIT"
  160. depends on (BF533 || BF532 || BF531)
  161. help
  162. BF533-EZKIT-LITE board Support.
  163. config BFIN533_STAMP
  164. bool "BF533-STAMP"
  165. depends on (BF533 || BF532 || BF531)
  166. help
  167. BF533-STAMP board Support.
  168. config BFIN537_STAMP
  169. bool "BF537-STAMP"
  170. depends on (BF537 || BF536 || BF534)
  171. help
  172. BF537-STAMP board Support.
  173. config BFIN533_BLUETECHNIX_CM
  174. bool "Bluetechnix CM-BF533"
  175. depends on (BF533)
  176. help
  177. CM-BF533 support for EVAL- and DEV-Board.
  178. config BFIN537_BLUETECHNIX_CM
  179. bool "Bluetechnix CM-BF537"
  180. depends on (BF537)
  181. help
  182. CM-BF537 support for EVAL- and DEV-Board.
  183. config BFIN548_EZKIT
  184. bool "BF548-EZKIT"
  185. depends on (BF548 || BF549)
  186. help
  187. BFIN548-EZKIT board Support.
  188. config BFIN561_BLUETECHNIX_CM
  189. bool "Bluetechnix CM-BF561"
  190. depends on (BF561)
  191. help
  192. CM-BF561 support for EVAL- and DEV-Board.
  193. config BFIN561_EZKIT
  194. bool "BF561-EZKIT"
  195. depends on (BF561)
  196. help
  197. BF561-EZKIT-LITE board Support.
  198. config BFIN561_TEPLA
  199. bool "BF561-TEPLA"
  200. depends on (BF561)
  201. help
  202. BF561-TEPLA board Support.
  203. config PNAV10
  204. bool "PNAV 1.0 board"
  205. depends on (BF537)
  206. help
  207. PNAV 1.0 board Support.
  208. config GENERIC_BOARD
  209. bool "Custom"
  210. depends on (BF537 || BF536 \
  211. || BF534 || BF561 || BF535 || BF533 || BF532 || BF531)
  212. help
  213. GENERIC or Custom board Support.
  214. endchoice
  215. config MEM_GENERIC_BOARD
  216. bool
  217. depends on GENERIC_BOARD
  218. default y
  219. config MEM_MT48LC64M4A2FB_7E
  220. bool
  221. depends on (BFIN533_STAMP)
  222. default y
  223. config MEM_MT48LC16M16A2TG_75
  224. bool
  225. depends on (BFIN533_EZKIT || BFIN561_EZKIT \
  226. || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM)
  227. default y
  228. config MEM_MT48LC32M8A2_75
  229. bool
  230. depends on (BFIN537_STAMP || PNAV10)
  231. default y
  232. config MEM_MT48LC8M32B2B5_7
  233. bool
  234. depends on (BFIN561_BLUETECHNIX_CM)
  235. default y
  236. config BFIN_SHARED_FLASH_ENET
  237. bool
  238. depends on (BFIN533_STAMP)
  239. default y
  240. source "arch/blackfin/mach-bf533/Kconfig"
  241. source "arch/blackfin/mach-bf561/Kconfig"
  242. source "arch/blackfin/mach-bf537/Kconfig"
  243. source "arch/blackfin/mach-bf548/Kconfig"
  244. menu "Board customizations"
  245. config CMDLINE_BOOL
  246. bool "Default bootloader kernel arguments"
  247. config CMDLINE
  248. string "Initial kernel command string"
  249. depends on CMDLINE_BOOL
  250. default "console=ttyBF0,57600"
  251. help
  252. If you don't have a boot loader capable of passing a command line string
  253. to the kernel, you may specify one here. As a minimum, you should specify
  254. the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
  255. comment "Board Setup"
  256. config CLKIN_HZ
  257. int "Crystal Frequency in Hz"
  258. default "11059200" if BFIN533_STAMP
  259. default "27000000" if BFIN533_EZKIT
  260. default "25000000" if BFIN537_STAMP
  261. default "30000000" if BFIN561_EZKIT
  262. default "24576000" if PNAV10
  263. help
  264. The frequency of CLKIN crystal oscillator on the board in Hz.
  265. config MEM_SIZE
  266. int "SDRAM Memory Size in MBytes"
  267. default 32 if BFIN533_EZKIT
  268. default 64 if BFIN537_STAMP
  269. default 64 if BFIN561_EZKIT
  270. default 128 if BFIN533_STAMP
  271. default 64 if PNAV10
  272. config MEM_ADD_WIDTH
  273. int "SDRAM Memory Address Width"
  274. default 9 if BFIN533_EZKIT
  275. default 9 if BFIN561_EZKIT
  276. default 10 if BFIN537_STAMP
  277. default 11 if BFIN533_STAMP
  278. default 10 if PNAV10
  279. config ENET_FLASH_PIN
  280. int "PF port/pin used for flash and ethernet sharing"
  281. depends on (BFIN533_STAMP)
  282. default 0
  283. help
  284. PF port/pin used for flash and ethernet sharing to allow other PF
  285. pins to be used on other platforms without having to touch common
  286. code.
  287. For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc.
  288. config BOOT_LOAD
  289. hex "Kernel load address for booting"
  290. default "0x1000"
  291. help
  292. This option allows you to set the load address of the kernel.
  293. This can be useful if you are on a board which has a small amount
  294. of memory or you wish to reserve some memory at the beginning of
  295. the address space.
  296. Note that you generally want to keep this value at or above 4k
  297. (0x1000) as this will allow the kernel to capture NULL pointer
  298. references.
  299. comment "LED Status Indicators"
  300. depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
  301. config BFIN_ALIVE_LED
  302. bool "Enable Board Alive"
  303. depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
  304. default n
  305. help
  306. Blink the LEDs you select when the kernel is running. Helps detect
  307. a hung kernel.
  308. config BFIN_ALIVE_LED_NUM
  309. int "LED"
  310. depends on BFIN_ALIVE_LED
  311. range 1 3 if BFIN533_STAMP
  312. default "3" if BFIN533_STAMP
  313. help
  314. Select the LED (marked on the board) for you to blink.
  315. config BFIN_IDLE_LED
  316. bool "Enable System Load/Idle LED"
  317. depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
  318. default n
  319. help
  320. Blinks the LED you select when to determine kernel load.
  321. config BFIN_IDLE_LED_NUM
  322. int "LED"
  323. depends on BFIN_IDLE_LED
  324. range 1 3 if BFIN533_STAMP
  325. default "2" if BFIN533_STAMP
  326. help
  327. Select the LED (marked on the board) for you to blink.
  328. #
  329. # Sorry - but you need to put the hex address here -
  330. #
  331. # Flag Data register
  332. config BFIN_ALIVE_LED_PORT
  333. hex
  334. default 0xFFC00700 if (BFIN533_STAMP)
  335. # Peripheral Flag Direction Register
  336. config BFIN_ALIVE_LED_DPORT
  337. hex
  338. default 0xFFC00730 if (BFIN533_STAMP)
  339. config BFIN_ALIVE_LED_PIN
  340. hex
  341. default 0x04 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 1)
  342. default 0x08 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 2)
  343. default 0x10 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 3)
  344. config BFIN_IDLE_LED_PORT
  345. hex
  346. default 0xFFC00700 if (BFIN533_STAMP)
  347. # Peripheral Flag Direction Register
  348. config BFIN_IDLE_LED_DPORT
  349. hex
  350. default 0xFFC00730 if (BFIN533_STAMP)
  351. config BFIN_IDLE_LED_PIN
  352. hex
  353. default 0x04 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 1)
  354. default 0x08 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 2)
  355. default 0x10 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 3)
  356. endmenu
  357. menu "Blackfin Kernel Optimizations"
  358. comment "Timer Tick"
  359. source kernel/Kconfig.hz
  360. comment "Memory Optimizations"
  361. config I_ENTRY_L1
  362. bool "Locate interrupt entry code in L1 Memory"
  363. default y
  364. help
  365. If enabled interrupt entry code (STORE/RESTORE CONTEXT) is linked
  366. into L1 instruction memory.(less latency)
  367. config EXCPT_IRQ_SYSC_L1
  368. bool "Locate entire ASM lowlevel excepetion / interrupt - Syscall and CPLB handler code in L1 Memory"
  369. default y
  370. help
  371. If enabled entire ASM lowlevel exception and interrupt entry code (STORE/RESTORE CONTEXT) is linked
  372. into L1 instruction memory.(less latency)
  373. config DO_IRQ_L1
  374. bool "Locate frequently called do_irq dispatcher function in L1 Memory"
  375. default y
  376. help
  377. If enabled frequently called do_irq dispatcher function is linked
  378. into L1 instruction memory.(less latency)
  379. config CORE_TIMER_IRQ_L1
  380. bool "Locate frequently called timer_interrupt() function in L1 Memory"
  381. default y
  382. help
  383. If enabled frequently called timer_interrupt() function is linked
  384. into L1 instruction memory.(less latency)
  385. config IDLE_L1
  386. bool "Locate frequently idle function in L1 Memory"
  387. default y
  388. help
  389. If enabled frequently called idle function is linked
  390. into L1 instruction memory.(less latency)
  391. config SCHEDULE_L1
  392. bool "Locate kernel schedule function in L1 Memory"
  393. default y
  394. help
  395. If enabled frequently called kernel schedule is linked
  396. into L1 instruction memory.(less latency)
  397. config ARITHMETIC_OPS_L1
  398. bool "Locate kernel owned arithmetic functions in L1 Memory"
  399. default y
  400. help
  401. If enabled arithmetic functions are linked
  402. into L1 instruction memory.(less latency)
  403. config ACCESS_OK_L1
  404. bool "Locate access_ok function in L1 Memory"
  405. default y
  406. help
  407. If enabled access_ok function is linked
  408. into L1 instruction memory.(less latency)
  409. config MEMSET_L1
  410. bool "Locate memset function in L1 Memory"
  411. default y
  412. help
  413. If enabled memset function is linked
  414. into L1 instruction memory.(less latency)
  415. config MEMCPY_L1
  416. bool "Locate memcpy function in L1 Memory"
  417. default y
  418. help
  419. If enabled memcpy function is linked
  420. into L1 instruction memory.(less latency)
  421. config SYS_BFIN_SPINLOCK_L1
  422. bool "Locate sys_bfin_spinlock function in L1 Memory"
  423. default y
  424. help
  425. If enabled sys_bfin_spinlock function is linked
  426. into L1 instruction memory.(less latency)
  427. config IP_CHECKSUM_L1
  428. bool "Locate IP Checksum function in L1 Memory"
  429. default n
  430. help
  431. If enabled IP Checksum function is linked
  432. into L1 instruction memory.(less latency)
  433. config CACHELINE_ALIGNED_L1
  434. bool "Locate cacheline_aligned data to L1 Data Memory"
  435. default y if !BF54x
  436. default n if BF54x
  437. depends on !BF531
  438. help
  439. If enabled cacheline_anligned data is linked
  440. into L1 data memory.(less latency)
  441. config SYSCALL_TAB_L1
  442. bool "Locate Syscall Table L1 Data Memory"
  443. default n
  444. depends on !BF531
  445. help
  446. If enabled the Syscall LUT is linked
  447. into L1 data memory.(less latency)
  448. config CPLB_SWITCH_TAB_L1
  449. bool "Locate CPLB Switch Tables L1 Data Memory"
  450. default n
  451. depends on !BF531
  452. help
  453. If enabled the CPLB Switch Tables are linked
  454. into L1 data memory.(less latency)
  455. endmenu
  456. choice
  457. prompt "Kernel executes from"
  458. help
  459. Choose the memory type that the kernel will be running in.
  460. config RAMKERNEL
  461. bool "RAM"
  462. help
  463. The kernel will be resident in RAM when running.
  464. config ROMKERNEL
  465. bool "ROM"
  466. help
  467. The kernel will be resident in FLASH/ROM when running.
  468. endchoice
  469. source "mm/Kconfig"
  470. config LARGE_ALLOCS
  471. bool "Allow allocating large blocks (> 1MB) of memory"
  472. help
  473. Allow the slab memory allocator to keep chains for very large
  474. memory sizes - upto 32MB. You may need this if your system has
  475. a lot of RAM, and you need to able to allocate very large
  476. contiguous chunks. If unsure, say N.
  477. config BFIN_DMA_5XX
  478. bool "Enable DMA Support"
  479. depends on (BF533 || BF532 || BF531 || BF537 || BF536 || BF534 || BF561 || BF54x)
  480. default y
  481. help
  482. DMA driver for BF5xx.
  483. choice
  484. prompt "Uncached SDRAM region"
  485. default DMA_UNCACHED_1M
  486. depends BFIN_DMA_5XX
  487. config DMA_UNCACHED_2M
  488. bool "Enable 2M DMA region"
  489. config DMA_UNCACHED_1M
  490. bool "Enable 1M DMA region"
  491. config DMA_UNCACHED_NONE
  492. bool "Disable DMA region"
  493. endchoice
  494. comment "Cache Support"
  495. config BLKFIN_CACHE
  496. bool "Enable ICACHE"
  497. config BLKFIN_DCACHE
  498. bool "Enable DCACHE"
  499. config BLKFIN_DCACHE_BANKA
  500. bool "Enable only 16k BankA DCACHE - BankB is SRAM"
  501. depends on BLKFIN_DCACHE && !BF531
  502. default n
  503. config BLKFIN_CACHE_LOCK
  504. bool "Enable Cache Locking"
  505. choice
  506. prompt "Policy"
  507. depends on BLKFIN_DCACHE
  508. default BLKFIN_WB
  509. config BLKFIN_WB
  510. bool "Write back"
  511. help
  512. Write Back Policy:
  513. Cached data will be written back to SDRAM only when needed.
  514. This can give a nice increase in performance, but beware of
  515. broken drivers that do not properly invalidate/flush their
  516. cache.
  517. Write Through Policy:
  518. Cached data will always be written back to SDRAM when the
  519. cache is updated. This is a completely safe setting, but
  520. performance is worse than Write Back.
  521. If you are unsure of the options and you want to be safe,
  522. then go with Write Through.
  523. config BLKFIN_WT
  524. bool "Write through"
  525. help
  526. Write Back Policy:
  527. Cached data will be written back to SDRAM only when needed.
  528. This can give a nice increase in performance, but beware of
  529. broken drivers that do not properly invalidate/flush their
  530. cache.
  531. Write Through Policy:
  532. Cached data will always be written back to SDRAM when the
  533. cache is updated. This is a completely safe setting, but
  534. performance is worse than Write Back.
  535. If you are unsure of the options and you want to be safe,
  536. then go with Write Through.
  537. endchoice
  538. config L1_MAX_PIECE
  539. int "Set the max L1 SRAM pieces"
  540. default 16
  541. help
  542. Set the max memory pieces for the L1 SRAM allocation algorithm.
  543. Min value is 16. Max value is 1024.
  544. menu "Clock Settings"
  545. config BFIN_KERNEL_CLOCK
  546. bool "Re-program Clocks while Kernel boots?"
  547. default n
  548. help
  549. This option decides if kernel clocks are re-programed from the
  550. bootloader settings. If the clocks are not set, the SDRAM settings
  551. are also not changed, and the Bootloader does 100% of the hardware
  552. configuration.
  553. config VCO_MULT
  554. int "VCO Multiplier"
  555. depends on BFIN_KERNEL_CLOCK
  556. default "22" if BFIN533_EZKIT
  557. default "45" if BFIN533_STAMP
  558. default "20" if BFIN537_STAMP
  559. default "22" if BFIN533_BLUETECHNIX_CM
  560. default "20" if BFIN537_BLUETECHNIX_CM
  561. default "20" if BFIN561_BLUETECHNIX_CM
  562. default "20" if BFIN561_EZKIT
  563. config CCLK_DIV
  564. int "Core Clock Divider"
  565. depends on BFIN_KERNEL_CLOCK
  566. default 1 if BFIN533_EZKIT
  567. default 1 if BFIN533_STAMP
  568. default 1 if BFIN537_STAMP
  569. default 1 if BFIN533_BLUETECHNIX_CM
  570. default 1 if BFIN537_BLUETECHNIX_CM
  571. default 1 if BFIN561_BLUETECHNIX_CM
  572. default 1 if BFIN561_EZKIT
  573. config SCLK_DIV
  574. int "System Clock Divider"
  575. depends on BFIN_KERNEL_CLOCK
  576. default 5 if BFIN533_EZKIT
  577. default 5 if BFIN533_STAMP
  578. default 4 if BFIN537_STAMP
  579. default 5 if BFIN533_BLUETECHNIX_CM
  580. default 4 if BFIN537_BLUETECHNIX_CM
  581. default 4 if BFIN561_BLUETECHNIX_CM
  582. default 5 if BFIN561_EZKIT
  583. config CLKIN_HALF
  584. bool "Half ClockIn"
  585. depends on BFIN_KERNEL_CLOCK
  586. default n
  587. config PLL_BYPASS
  588. bool "Bypass PLL"
  589. depends on BFIN_KERNEL_CLOCK
  590. default n
  591. endmenu
  592. comment "Asynchonous Memory Configuration"
  593. menu "EBIU_AMBCTL Global Control"
  594. config C_AMCKEN
  595. bool "Enable CLKOUT"
  596. default y
  597. config C_CDPRIO
  598. bool "DMA has priority over core for ext. accesses"
  599. depends on !BF54x
  600. default n
  601. config C_B0PEN
  602. depends on BF561
  603. bool "Bank 0 16 bit packing enable"
  604. default y
  605. config C_B1PEN
  606. depends on BF561
  607. bool "Bank 1 16 bit packing enable"
  608. default y
  609. config C_B2PEN
  610. depends on BF561
  611. bool "Bank 2 16 bit packing enable"
  612. default y
  613. config C_B3PEN
  614. depends on BF561
  615. bool "Bank 3 16 bit packing enable"
  616. default n
  617. choice
  618. prompt"Enable Asynchonous Memory Banks"
  619. default C_AMBEN_ALL
  620. config C_AMBEN
  621. bool "Disable All Banks"
  622. config C_AMBEN_B0
  623. bool "Enable Bank 0"
  624. config C_AMBEN_B0_B1
  625. bool "Enable Bank 0 & 1"
  626. config C_AMBEN_B0_B1_B2
  627. bool "Enable Bank 0 & 1 & 2"
  628. config C_AMBEN_ALL
  629. bool "Enable All Banks"
  630. endchoice
  631. endmenu
  632. menu "EBIU_AMBCTL Control"
  633. config BANK_0
  634. hex "Bank 0"
  635. default 0x7BB0
  636. config BANK_1
  637. hex "Bank 1"
  638. default 0x7BB0
  639. config BANK_2
  640. hex "Bank 2"
  641. default 0x7BB0
  642. config BANK_3
  643. hex "Bank 3"
  644. default 0x99B3
  645. endmenu
  646. endmenu
  647. #############################################################################
  648. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  649. config PCI
  650. bool "PCI support"
  651. help
  652. Support for PCI bus.
  653. source "drivers/pci/Kconfig"
  654. config HOTPLUG
  655. bool "Support for hot-pluggable device"
  656. help
  657. Say Y here if you want to plug devices into your computer while
  658. the system is running, and be able to use them quickly. In many
  659. cases, the devices can likewise be unplugged at any time too.
  660. One well known example of this is PCMCIA- or PC-cards, credit-card
  661. size devices such as network cards, modems or hard drives which are
  662. plugged into slots found on all modern laptop computers. Another
  663. example, used on modern desktops as well as laptops, is USB.
  664. Enable HOTPLUG and KMOD, and build a modular kernel. Get agent
  665. software (at <http://linux-hotplug.sourceforge.net/>) and install it.
  666. Then your kernel will automatically call out to a user mode "policy
  667. agent" (/sbin/hotplug) to load modules and set up software needed
  668. to use devices as you hotplug them.
  669. source "drivers/pcmcia/Kconfig"
  670. source "drivers/pci/hotplug/Kconfig"
  671. endmenu
  672. menu "Executable file formats"
  673. source "fs/Kconfig.binfmt"
  674. endmenu
  675. menu "Power management options"
  676. source "kernel/power/Kconfig"
  677. choice
  678. prompt "Select PM Wakeup Event Source"
  679. default PM_WAKEUP_GPIO_BY_SIC_IWR
  680. depends on PM
  681. help
  682. If you have a GPIO already configured as input with the corresponding PORTx_MASK
  683. bit set - "Specify Wakeup Event by SIC_IWR value"
  684. config PM_WAKEUP_GPIO_BY_SIC_IWR
  685. bool "Specify Wakeup Event by SIC_IWR value"
  686. config PM_WAKEUP_BY_GPIO
  687. bool "Cause Wakeup Event by GPIO"
  688. config PM_WAKEUP_GPIO_API
  689. bool "Configure Wakeup Event by PM GPIO API"
  690. endchoice
  691. config PM_WAKEUP_SIC_IWR
  692. hex "Wakeup Events (SIC_IWR)"
  693. depends on PM_WAKEUP_GPIO_BY_SIC_IWR
  694. default 0x80000000 if (BF537 || BF536 || BF534)
  695. default 0x100000 if (BF533 || BF532 || BF531)
  696. config PM_WAKEUP_GPIO_NUMBER
  697. int "Wakeup GPIO number"
  698. range 0 47
  699. depends on PM_WAKEUP_BY_GPIO
  700. default 2 if BFIN537_STAMP
  701. choice
  702. prompt "GPIO Polarity"
  703. depends on PM_WAKEUP_BY_GPIO
  704. default PM_WAKEUP_GPIO_POLAR_H
  705. config PM_WAKEUP_GPIO_POLAR_H
  706. bool "Active High"
  707. config PM_WAKEUP_GPIO_POLAR_L
  708. bool "Active Low"
  709. config PM_WAKEUP_GPIO_POLAR_EDGE_F
  710. bool "Falling EDGE"
  711. config PM_WAKEUP_GPIO_POLAR_EDGE_R
  712. bool "Rising EDGE"
  713. config PM_WAKEUP_GPIO_POLAR_EDGE_B
  714. bool "Both EDGE"
  715. endchoice
  716. endmenu
  717. if (BF537 || BF533 || BF54x)
  718. menu "CPU Frequency scaling"
  719. source "drivers/cpufreq/Kconfig"
  720. config CPU_FREQ
  721. bool
  722. default n
  723. help
  724. If you want to enable this option, you should select the
  725. DPMC driver from Character Devices.
  726. endmenu
  727. endif
  728. source "net/Kconfig"
  729. source "drivers/Kconfig"
  730. source "fs/Kconfig"
  731. source "arch/blackfin/oprofile/Kconfig"
  732. menu "Kernel hacking"
  733. source "lib/Kconfig.debug"
  734. config DEBUG_HWERR
  735. bool "Hardware error interrupt debugging"
  736. depends on DEBUG_KERNEL
  737. help
  738. When enabled, the hardware error interrupt is never disabled, and
  739. will happen immediately when an error condition occurs. This comes
  740. at a slight cost in code size, but is necessary if you are getting
  741. hardware error interrupts and need to know where they are coming
  742. from.
  743. config DEBUG_ICACHE_CHECK
  744. bool "Check Instruction cache coherancy"
  745. depends on DEBUG_KERNEL
  746. depends on DEBUG_HWERR
  747. help
  748. Say Y here if you are getting wierd unexplained errors. This will
  749. ensure that icache is what SDRAM says it should be, by doing a
  750. byte wise comparision between SDRAM and instruction cache. This
  751. also relocates the irq_panic() function to L1 memory, (which is
  752. un-cached).
  753. config DEBUG_KERNEL_START
  754. bool "Debug Kernel Startup"
  755. depends on DEBUG_KERNEL
  756. help
  757. Say Y here to put in an mini-execption handler before the kernel
  758. replaces the bootloader exception handler. This will stop kernels
  759. from dieing at startup with no visible error messages.
  760. config DEBUG_SERIAL_EARLY_INIT
  761. bool "Initialize serial driver early"
  762. default n
  763. depends on SERIAL_BFIN
  764. help
  765. Say Y here if you want to get kernel output early when kernel
  766. crashes before the normal console initialization. If this option
  767. is enable, console output will always go to the ttyBF0, no matter
  768. what kernel boot paramters you set.
  769. config DEBUG_HUNT_FOR_ZERO
  770. bool "Catch NULL pointer reads/writes"
  771. default y
  772. help
  773. Say Y here to catch reads/writes to anywhere in the memory range
  774. from 0x0000 - 0x0FFF (the first 4k) of memory. This is useful in
  775. catching common programming errors such as NULL pointer dereferences.
  776. Misbehaving applications will be killed (generate a SEGV) while the
  777. kernel will trigger a panic.
  778. Enabling this option will take up an extra entry in CPLB table.
  779. Otherwise, there is no extra overhead.
  780. config DEBUG_BFIN_NO_KERN_HWTRACE
  781. bool "Trace user apps (turn off hwtrace in kernel)"
  782. default n
  783. help
  784. Some pieces of the kernel contain a lot of flow changes which can
  785. quickly fill up the hardware trace buffer. When debugging crashes,
  786. the hardware trace may indicate that the problem lies in kernel
  787. space when in reality an application is buggy.
  788. Say Y here to disable hardware tracing in some known "jumpy" pieces
  789. of code so that the trace buffer will extend further back.
  790. config DUAL_CORE_TEST_MODULE
  791. tristate "Dual Core Test Module"
  792. depends on (BF561)
  793. default n
  794. help
  795. Say Y here to build-in dual core test module for dual core test.
  796. config CPLB_INFO
  797. bool "Display the CPLB information"
  798. help
  799. Display the CPLB information.
  800. config ACCESS_CHECK
  801. bool "Check the user pointer address"
  802. default y
  803. help
  804. Usually the pointer transfer from user space is checked to see if its
  805. address is in the kernel space.
  806. Say N here to disable that check to improve the performance.
  807. endmenu
  808. source "security/Kconfig"
  809. source "crypto/Kconfig"
  810. source "lib/Kconfig"