Kconfig 21 KB

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