Kconfig 23 KB

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