Kconfig 22 KB

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