Kconfig 21 KB

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