Kconfig 22 KB

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