Kconfig 22 KB

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