Kconfig 22 KB

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