Kconfig 22 KB

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