Kconfig 21 KB

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