Kconfig 21 KB

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