Kconfig 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  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
  436. depends on !BF531
  437. help
  438. If enabled cacheline_anligned data is linked
  439. into L1 data memory.(less latency)
  440. config SYSCALL_TAB_L1
  441. bool "Locate Syscall Table L1 Data Memory"
  442. default n
  443. depends on !BF531
  444. help
  445. If enabled the Syscall LUT is linked
  446. into L1 data memory.(less latency)
  447. config CPLB_SWITCH_TAB_L1
  448. bool "Locate CPLB Switch Tables L1 Data Memory"
  449. default n
  450. depends on !BF531
  451. help
  452. If enabled the CPLB Switch Tables are linked
  453. into L1 data memory.(less latency)
  454. endmenu
  455. choice
  456. prompt "Kernel executes from"
  457. help
  458. Choose the memory type that the kernel will be running in.
  459. config RAMKERNEL
  460. bool "RAM"
  461. help
  462. The kernel will be resident in RAM when running.
  463. config ROMKERNEL
  464. bool "ROM"
  465. help
  466. The kernel will be resident in FLASH/ROM when running.
  467. endchoice
  468. source "mm/Kconfig"
  469. config BFIN_DMA_5XX
  470. bool "Enable DMA Support"
  471. depends on (BF533 || BF532 || BF531 || BF537 || BF536 || BF534 || BF561 || BF54x)
  472. default y
  473. help
  474. DMA driver for BF5xx.
  475. choice
  476. prompt "Uncached SDRAM region"
  477. default DMA_UNCACHED_1M
  478. depends BFIN_DMA_5XX
  479. config DMA_UNCACHED_2M
  480. bool "Enable 2M DMA region"
  481. config DMA_UNCACHED_1M
  482. bool "Enable 1M DMA region"
  483. config DMA_UNCACHED_NONE
  484. bool "Disable DMA region"
  485. endchoice
  486. comment "Cache Support"
  487. config BLKFIN_CACHE
  488. bool "Enable ICACHE"
  489. config BLKFIN_DCACHE
  490. bool "Enable DCACHE"
  491. config BLKFIN_DCACHE_BANKA
  492. bool "Enable only 16k BankA DCACHE - BankB is SRAM"
  493. depends on BLKFIN_DCACHE && !BF531
  494. default n
  495. config BLKFIN_CACHE_LOCK
  496. bool "Enable Cache Locking"
  497. choice
  498. prompt "Policy"
  499. depends on BLKFIN_DCACHE
  500. default BLKFIN_WB
  501. config BLKFIN_WB
  502. bool "Write back"
  503. help
  504. Write Back Policy:
  505. Cached data will be written back to SDRAM only when needed.
  506. This can give a nice increase in performance, but beware of
  507. broken drivers that do not properly invalidate/flush their
  508. cache.
  509. Write Through Policy:
  510. Cached data will always be written back to SDRAM when the
  511. cache is updated. This is a completely safe setting, but
  512. performance is worse than Write Back.
  513. If you are unsure of the options and you want to be safe,
  514. then go with Write Through.
  515. config BLKFIN_WT
  516. bool "Write through"
  517. help
  518. Write Back Policy:
  519. Cached data will be written back to SDRAM only when needed.
  520. This can give a nice increase in performance, but beware of
  521. broken drivers that do not properly invalidate/flush their
  522. cache.
  523. Write Through Policy:
  524. Cached data will always be written back to SDRAM when the
  525. cache is updated. This is a completely safe setting, but
  526. performance is worse than Write Back.
  527. If you are unsure of the options and you want to be safe,
  528. then go with Write Through.
  529. endchoice
  530. config L1_MAX_PIECE
  531. int "Set the max L1 SRAM pieces"
  532. default 16
  533. help
  534. Set the max memory pieces for the L1 SRAM allocation algorithm.
  535. Min value is 16. Max value is 1024.
  536. menu "Clock Settings"
  537. config BFIN_KERNEL_CLOCK
  538. bool "Re-program Clocks while Kernel boots?"
  539. default n
  540. help
  541. This option decides if kernel clocks are re-programed from the
  542. bootloader settings. If the clocks are not set, the SDRAM settings
  543. are also not changed, and the Bootloader does 100% of the hardware
  544. configuration.
  545. config VCO_MULT
  546. int "VCO Multiplier"
  547. depends on BFIN_KERNEL_CLOCK
  548. default "22" if BFIN533_EZKIT
  549. default "45" if BFIN533_STAMP
  550. default "20" if BFIN537_STAMP
  551. default "22" if BFIN533_BLUETECHNIX_CM
  552. default "20" if BFIN537_BLUETECHNIX_CM
  553. default "20" if BFIN561_BLUETECHNIX_CM
  554. default "20" if BFIN561_EZKIT
  555. config CCLK_DIV
  556. int "Core Clock Divider"
  557. depends on BFIN_KERNEL_CLOCK
  558. default 1 if BFIN533_EZKIT
  559. default 1 if BFIN533_STAMP
  560. default 1 if BFIN537_STAMP
  561. default 1 if BFIN533_BLUETECHNIX_CM
  562. default 1 if BFIN537_BLUETECHNIX_CM
  563. default 1 if BFIN561_BLUETECHNIX_CM
  564. default 1 if BFIN561_EZKIT
  565. config SCLK_DIV
  566. int "System Clock Divider"
  567. depends on BFIN_KERNEL_CLOCK
  568. default 5 if BFIN533_EZKIT
  569. default 5 if BFIN533_STAMP
  570. default 4 if BFIN537_STAMP
  571. default 5 if BFIN533_BLUETECHNIX_CM
  572. default 4 if BFIN537_BLUETECHNIX_CM
  573. default 4 if BFIN561_BLUETECHNIX_CM
  574. default 5 if BFIN561_EZKIT
  575. config CLKIN_HALF
  576. bool "Half ClockIn"
  577. depends on BFIN_KERNEL_CLOCK
  578. default n
  579. config PLL_BYPASS
  580. bool "Bypass PLL"
  581. depends on BFIN_KERNEL_CLOCK
  582. default n
  583. endmenu
  584. comment "Asynchonous Memory Configuration"
  585. menu "EBIU_AMBCTL Global Control"
  586. config C_AMCKEN
  587. bool "Enable CLKOUT"
  588. default y
  589. config C_CDPRIO
  590. bool "DMA has priority over core for ext. accesses"
  591. depends on !BF54x
  592. default n
  593. config C_B0PEN
  594. depends on BF561
  595. bool "Bank 0 16 bit packing enable"
  596. default y
  597. config C_B1PEN
  598. depends on BF561
  599. bool "Bank 1 16 bit packing enable"
  600. default y
  601. config C_B2PEN
  602. depends on BF561
  603. bool "Bank 2 16 bit packing enable"
  604. default y
  605. config C_B3PEN
  606. depends on BF561
  607. bool "Bank 3 16 bit packing enable"
  608. default n
  609. choice
  610. prompt"Enable Asynchonous Memory Banks"
  611. default C_AMBEN_ALL
  612. config C_AMBEN
  613. bool "Disable All Banks"
  614. config C_AMBEN_B0
  615. bool "Enable Bank 0"
  616. config C_AMBEN_B0_B1
  617. bool "Enable Bank 0 & 1"
  618. config C_AMBEN_B0_B1_B2
  619. bool "Enable Bank 0 & 1 & 2"
  620. config C_AMBEN_ALL
  621. bool "Enable All Banks"
  622. endchoice
  623. endmenu
  624. menu "EBIU_AMBCTL Control"
  625. config BANK_0
  626. hex "Bank 0"
  627. default 0x7BB0
  628. config BANK_1
  629. hex "Bank 1"
  630. default 0x7BB0
  631. config BANK_2
  632. hex "Bank 2"
  633. default 0x7BB0
  634. config BANK_3
  635. hex "Bank 3"
  636. default 0x99B3
  637. endmenu
  638. endmenu
  639. #############################################################################
  640. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  641. config PCI
  642. bool "PCI support"
  643. help
  644. Support for PCI bus.
  645. source "drivers/pci/Kconfig"
  646. config HOTPLUG
  647. bool "Support for hot-pluggable device"
  648. help
  649. Say Y here if you want to plug devices into your computer while
  650. the system is running, and be able to use them quickly. In many
  651. cases, the devices can likewise be unplugged at any time too.
  652. One well known example of this is PCMCIA- or PC-cards, credit-card
  653. size devices such as network cards, modems or hard drives which are
  654. plugged into slots found on all modern laptop computers. Another
  655. example, used on modern desktops as well as laptops, is USB.
  656. Enable HOTPLUG and KMOD, and build a modular kernel. Get agent
  657. software (at <http://linux-hotplug.sourceforge.net/>) and install it.
  658. Then your kernel will automatically call out to a user mode "policy
  659. agent" (/sbin/hotplug) to load modules and set up software needed
  660. to use devices as you hotplug them.
  661. source "drivers/pcmcia/Kconfig"
  662. source "drivers/pci/hotplug/Kconfig"
  663. endmenu
  664. menu "Executable file formats"
  665. source "fs/Kconfig.binfmt"
  666. endmenu
  667. menu "Power management options"
  668. source "kernel/power/Kconfig"
  669. choice
  670. prompt "Select PM Wakeup Event Source"
  671. default PM_WAKEUP_GPIO_BY_SIC_IWR
  672. depends on PM
  673. help
  674. If you have a GPIO already configured as input with the corresponding PORTx_MASK
  675. bit set - "Specify Wakeup Event by SIC_IWR value"
  676. config PM_WAKEUP_GPIO_BY_SIC_IWR
  677. bool "Specify Wakeup Event by SIC_IWR value"
  678. config PM_WAKEUP_BY_GPIO
  679. bool "Cause Wakeup Event by GPIO"
  680. config PM_WAKEUP_GPIO_API
  681. bool "Configure Wakeup Event by PM GPIO API"
  682. endchoice
  683. config PM_WAKEUP_SIC_IWR
  684. hex "Wakeup Events (SIC_IWR)"
  685. depends on PM_WAKEUP_GPIO_BY_SIC_IWR
  686. default 0x80000000 if (BF537 || BF536 || BF534)
  687. default 0x100000 if (BF533 || BF532 || BF531)
  688. config PM_WAKEUP_GPIO_NUMBER
  689. int "Wakeup GPIO number"
  690. range 0 47
  691. depends on PM_WAKEUP_BY_GPIO
  692. default 2 if BFIN537_STAMP
  693. choice
  694. prompt "GPIO Polarity"
  695. depends on PM_WAKEUP_BY_GPIO
  696. default PM_WAKEUP_GPIO_POLAR_H
  697. config PM_WAKEUP_GPIO_POLAR_H
  698. bool "Active High"
  699. config PM_WAKEUP_GPIO_POLAR_L
  700. bool "Active Low"
  701. config PM_WAKEUP_GPIO_POLAR_EDGE_F
  702. bool "Falling EDGE"
  703. config PM_WAKEUP_GPIO_POLAR_EDGE_R
  704. bool "Rising EDGE"
  705. config PM_WAKEUP_GPIO_POLAR_EDGE_B
  706. bool "Both EDGE"
  707. endchoice
  708. endmenu
  709. if (BF537 || BF533 || BF54x)
  710. menu "CPU Frequency scaling"
  711. source "drivers/cpufreq/Kconfig"
  712. config CPU_FREQ
  713. bool
  714. default n
  715. help
  716. If you want to enable this option, you should select the
  717. DPMC driver from Character Devices.
  718. endmenu
  719. endif
  720. source "net/Kconfig"
  721. source "drivers/Kconfig"
  722. source "fs/Kconfig"
  723. source "arch/blackfin/oprofile/Kconfig"
  724. menu "Kernel hacking"
  725. source "lib/Kconfig.debug"
  726. config DEBUG_HWERR
  727. bool "Hardware error interrupt debugging"
  728. depends on DEBUG_KERNEL
  729. help
  730. When enabled, the hardware error interrupt is never disabled, and
  731. will happen immediately when an error condition occurs. This comes
  732. at a slight cost in code size, but is necessary if you are getting
  733. hardware error interrupts and need to know where they are coming
  734. from.
  735. config DEBUG_ICACHE_CHECK
  736. bool "Check Instruction cache coherancy"
  737. depends on DEBUG_KERNEL
  738. depends on DEBUG_HWERR
  739. help
  740. Say Y here if you are getting wierd unexplained errors. This will
  741. ensure that icache is what SDRAM says it should be, by doing a
  742. byte wise comparision between SDRAM and instruction cache. This
  743. also relocates the irq_panic() function to L1 memory, (which is
  744. un-cached).
  745. config DEBUG_KERNEL_START
  746. bool "Debug Kernel Startup"
  747. depends on DEBUG_KERNEL
  748. help
  749. Say Y here to put in an mini-execption handler before the kernel
  750. replaces the bootloader exception handler. This will stop kernels
  751. from dieing at startup with no visible error messages.
  752. config DEBUG_SERIAL_EARLY_INIT
  753. bool "Initialize serial driver early"
  754. default n
  755. depends on SERIAL_BFIN
  756. help
  757. Say Y here if you want to get kernel output early when kernel
  758. crashes before the normal console initialization. If this option
  759. is enable, console output will always go to the ttyBF0, no matter
  760. what kernel boot paramters you set.
  761. config DEBUG_HUNT_FOR_ZERO
  762. bool "Catch NULL pointer reads/writes"
  763. default y
  764. help
  765. Say Y here to catch reads/writes to anywhere in the memory range
  766. from 0x0000 - 0x0FFF (the first 4k) of memory. This is useful in
  767. catching common programming errors such as NULL pointer dereferences.
  768. Misbehaving applications will be killed (generate a SEGV) while the
  769. kernel will trigger a panic.
  770. Enabling this option will take up an extra entry in CPLB table.
  771. Otherwise, there is no extra overhead.
  772. config DEBUG_BFIN_NO_KERN_HWTRACE
  773. bool "Trace user apps (turn off hwtrace in kernel)"
  774. default n
  775. help
  776. Some pieces of the kernel contain a lot of flow changes which can
  777. quickly fill up the hardware trace buffer. When debugging crashes,
  778. the hardware trace may indicate that the problem lies in kernel
  779. space when in reality an application is buggy.
  780. Say Y here to disable hardware tracing in some known "jumpy" pieces
  781. of code so that the trace buffer will extend further back.
  782. config DUAL_CORE_TEST_MODULE
  783. tristate "Dual Core Test Module"
  784. depends on (BF561)
  785. default n
  786. help
  787. Say Y here to build-in dual core test module for dual core test.
  788. config CPLB_INFO
  789. bool "Display the CPLB information"
  790. help
  791. Display the CPLB information.
  792. config ACCESS_CHECK
  793. bool "Check the user pointer address"
  794. default y
  795. help
  796. Usually the pointer transfer from user space is checked to see if its
  797. address is in the kernel space.
  798. Say N here to disable that check to improve the performance.
  799. endmenu
  800. source "security/Kconfig"
  801. source "crypto/Kconfig"
  802. source "lib/Kconfig"