Kconfig 21 KB

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