Kconfig 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463
  1. config SYMBOL_PREFIX
  2. string
  3. default "_"
  4. config MMU
  5. def_bool n
  6. config FPU
  7. def_bool n
  8. config RWSEM_GENERIC_SPINLOCK
  9. def_bool y
  10. config RWSEM_XCHGADD_ALGORITHM
  11. def_bool n
  12. config BLACKFIN
  13. def_bool y
  14. select HAVE_ARCH_KGDB
  15. select HAVE_ARCH_TRACEHOOK
  16. select HAVE_DYNAMIC_FTRACE
  17. select HAVE_FTRACE_MCOUNT_RECORD
  18. select HAVE_FUNCTION_GRAPH_TRACER
  19. select HAVE_FUNCTION_TRACER
  20. select HAVE_FUNCTION_TRACE_MCOUNT_TEST
  21. select HAVE_IDE
  22. select HAVE_IRQ_WORK
  23. select HAVE_KERNEL_GZIP if RAMKERNEL
  24. select HAVE_KERNEL_BZIP2 if RAMKERNEL
  25. select HAVE_KERNEL_LZMA if RAMKERNEL
  26. select HAVE_KERNEL_LZO if RAMKERNEL
  27. select HAVE_OPROFILE
  28. select HAVE_PERF_EVENTS
  29. select ARCH_HAVE_CUSTOM_GPIO_H
  30. select ARCH_WANT_OPTIONAL_GPIOLIB
  31. select HAVE_GENERIC_HARDIRQS
  32. select GENERIC_ATOMIC64
  33. select GENERIC_IRQ_PROBE
  34. select IRQ_PER_CPU if SMP
  35. select HAVE_NMI_WATCHDOG if NMI_WATCHDOG
  36. select GENERIC_SMP_IDLE_THREAD
  37. select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS
  38. config GENERIC_CSUM
  39. def_bool y
  40. config GENERIC_BUG
  41. def_bool y
  42. depends on BUG
  43. config ZONE_DMA
  44. def_bool y
  45. config GENERIC_GPIO
  46. def_bool y
  47. config FORCE_MAX_ZONEORDER
  48. int
  49. default "14"
  50. config GENERIC_CALIBRATE_DELAY
  51. def_bool y
  52. config LOCKDEP_SUPPORT
  53. def_bool y
  54. config STACKTRACE_SUPPORT
  55. def_bool y
  56. config TRACE_IRQFLAGS_SUPPORT
  57. def_bool y
  58. source "init/Kconfig"
  59. source "kernel/Kconfig.preempt"
  60. source "kernel/Kconfig.freezer"
  61. menu "Blackfin Processor Options"
  62. comment "Processor and Board Settings"
  63. choice
  64. prompt "CPU"
  65. default BF533
  66. config BF512
  67. bool "BF512"
  68. help
  69. BF512 Processor Support.
  70. config BF514
  71. bool "BF514"
  72. help
  73. BF514 Processor Support.
  74. config BF516
  75. bool "BF516"
  76. help
  77. BF516 Processor Support.
  78. config BF518
  79. bool "BF518"
  80. help
  81. BF518 Processor Support.
  82. config BF522
  83. bool "BF522"
  84. help
  85. BF522 Processor Support.
  86. config BF523
  87. bool "BF523"
  88. help
  89. BF523 Processor Support.
  90. config BF524
  91. bool "BF524"
  92. help
  93. BF524 Processor Support.
  94. config BF525
  95. bool "BF525"
  96. help
  97. BF525 Processor Support.
  98. config BF526
  99. bool "BF526"
  100. help
  101. BF526 Processor Support.
  102. config BF527
  103. bool "BF527"
  104. help
  105. BF527 Processor Support.
  106. config BF531
  107. bool "BF531"
  108. help
  109. BF531 Processor Support.
  110. config BF532
  111. bool "BF532"
  112. help
  113. BF532 Processor Support.
  114. config BF533
  115. bool "BF533"
  116. help
  117. BF533 Processor Support.
  118. config BF534
  119. bool "BF534"
  120. help
  121. BF534 Processor Support.
  122. config BF536
  123. bool "BF536"
  124. help
  125. BF536 Processor Support.
  126. config BF537
  127. bool "BF537"
  128. help
  129. BF537 Processor Support.
  130. config BF538
  131. bool "BF538"
  132. help
  133. BF538 Processor Support.
  134. config BF539
  135. bool "BF539"
  136. help
  137. BF539 Processor Support.
  138. config BF542_std
  139. bool "BF542"
  140. help
  141. BF542 Processor Support.
  142. config BF542M
  143. bool "BF542m"
  144. help
  145. BF542 Processor Support.
  146. config BF544_std
  147. bool "BF544"
  148. help
  149. BF544 Processor Support.
  150. config BF544M
  151. bool "BF544m"
  152. help
  153. BF544 Processor Support.
  154. config BF547_std
  155. bool "BF547"
  156. help
  157. BF547 Processor Support.
  158. config BF547M
  159. bool "BF547m"
  160. help
  161. BF547 Processor Support.
  162. config BF548_std
  163. bool "BF548"
  164. help
  165. BF548 Processor Support.
  166. config BF548M
  167. bool "BF548m"
  168. help
  169. BF548 Processor Support.
  170. config BF549_std
  171. bool "BF549"
  172. help
  173. BF549 Processor Support.
  174. config BF549M
  175. bool "BF549m"
  176. help
  177. BF549 Processor Support.
  178. config BF561
  179. bool "BF561"
  180. help
  181. BF561 Processor Support.
  182. config BF609
  183. bool "BF609"
  184. select CLKDEV_LOOKUP
  185. help
  186. BF609 Processor Support.
  187. endchoice
  188. config SMP
  189. depends on BF561
  190. select TICKSOURCE_CORETMR
  191. bool "Symmetric multi-processing support"
  192. ---help---
  193. This enables support for systems with more than one CPU,
  194. like the dual core BF561. If you have a system with only one
  195. CPU, say N. If you have a system with more than one CPU, say Y.
  196. If you don't know what to do here, say N.
  197. config NR_CPUS
  198. int
  199. depends on SMP
  200. default 2 if BF561
  201. config HOTPLUG_CPU
  202. bool "Support for hot-pluggable CPUs"
  203. depends on SMP && HOTPLUG
  204. default y
  205. config BF_REV_MIN
  206. int
  207. default 0 if (BF51x || BF52x || (BF54x && !BF54xM)) || BF60x
  208. default 2 if (BF537 || BF536 || BF534)
  209. default 3 if (BF561 || BF533 || BF532 || BF531 || BF54xM)
  210. default 4 if (BF538 || BF539)
  211. config BF_REV_MAX
  212. int
  213. default 2 if (BF51x || BF52x || (BF54x && !BF54xM)) || BF60x
  214. default 3 if (BF537 || BF536 || BF534 || BF54xM)
  215. default 5 if (BF561 || BF538 || BF539)
  216. default 6 if (BF533 || BF532 || BF531)
  217. choice
  218. prompt "Silicon Rev"
  219. default BF_REV_0_0 if (BF51x || BF52x || BF60x)
  220. default BF_REV_0_2 if (BF534 || BF536 || BF537 || (BF54x && !BF54xM))
  221. default BF_REV_0_3 if (BF531 || BF532 || BF533 || BF54xM || BF561)
  222. config BF_REV_0_0
  223. bool "0.0"
  224. depends on (BF51x || BF52x || (BF54x && !BF54xM) || BF60x)
  225. config BF_REV_0_1
  226. bool "0.1"
  227. depends on (BF51x || BF52x || (BF54x && !BF54xM))
  228. config BF_REV_0_2
  229. bool "0.2"
  230. depends on (BF51x || BF52x || BF537 || BF536 || BF534 || (BF54x && !BF54xM))
  231. config BF_REV_0_3
  232. bool "0.3"
  233. depends on (BF54xM || BF561 || BF537 || BF536 || BF534 || BF533 || BF532 || BF531)
  234. config BF_REV_0_4
  235. bool "0.4"
  236. depends on (BF561 || BF533 || BF532 || BF531 || BF538 || BF539)
  237. config BF_REV_0_5
  238. bool "0.5"
  239. depends on (BF561 || BF533 || BF532 || BF531 || BF538 || BF539)
  240. config BF_REV_0_6
  241. bool "0.6"
  242. depends on (BF533 || BF532 || BF531)
  243. config BF_REV_ANY
  244. bool "any"
  245. config BF_REV_NONE
  246. bool "none"
  247. endchoice
  248. config BF53x
  249. bool
  250. depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537)
  251. default y
  252. config MEM_MT48LC64M4A2FB_7E
  253. bool
  254. depends on (BFIN533_STAMP)
  255. default y
  256. config MEM_MT48LC16M16A2TG_75
  257. bool
  258. depends on (BFIN533_EZKIT || BFIN561_EZKIT \
  259. || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM_E \
  260. || BFIN537_BLUETECHNIX_CM_U || H8606_HVSISTEMAS \
  261. || BFIN527_BLUETECHNIX_CM)
  262. default y
  263. config MEM_MT48LC32M8A2_75
  264. bool
  265. depends on (BFIN518F_EZBRD || BFIN537_STAMP || PNAV10 || BFIN538_EZKIT)
  266. default y
  267. config MEM_MT48LC8M32B2B5_7
  268. bool
  269. depends on (BFIN561_BLUETECHNIX_CM)
  270. default y
  271. config MEM_MT48LC32M16A2TG_75
  272. bool
  273. depends on (BFIN527_EZKIT || BFIN527_EZKIT_V2 || BFIN532_IP0X || BLACKSTAMP || BFIN527_AD7160EVAL)
  274. default y
  275. config MEM_MT48H32M16LFCJ_75
  276. bool
  277. depends on (BFIN526_EZBRD)
  278. default y
  279. source "arch/blackfin/mach-bf518/Kconfig"
  280. source "arch/blackfin/mach-bf527/Kconfig"
  281. source "arch/blackfin/mach-bf533/Kconfig"
  282. source "arch/blackfin/mach-bf561/Kconfig"
  283. source "arch/blackfin/mach-bf537/Kconfig"
  284. source "arch/blackfin/mach-bf538/Kconfig"
  285. source "arch/blackfin/mach-bf548/Kconfig"
  286. source "arch/blackfin/mach-bf609/Kconfig"
  287. menu "Board customizations"
  288. config CMDLINE_BOOL
  289. bool "Default bootloader kernel arguments"
  290. config CMDLINE
  291. string "Initial kernel command string"
  292. depends on CMDLINE_BOOL
  293. default "console=ttyBF0,57600"
  294. help
  295. If you don't have a boot loader capable of passing a command line string
  296. to the kernel, you may specify one here. As a minimum, you should specify
  297. the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
  298. config BOOT_LOAD
  299. hex "Kernel load address for booting"
  300. default "0x1000"
  301. range 0x1000 0x20000000
  302. help
  303. This option allows you to set the load address of the kernel.
  304. This can be useful if you are on a board which has a small amount
  305. of memory or you wish to reserve some memory at the beginning of
  306. the address space.
  307. Note that you need to keep this value above 4k (0x1000) as this
  308. memory region is used to capture NULL pointer references as well
  309. as some core kernel functions.
  310. config PHY_RAM_BASE_ADDRESS
  311. hex "Physical RAM Base"
  312. default 0x0
  313. help
  314. set BF609 FPGA physical SRAM base address
  315. config ROM_BASE
  316. hex "Kernel ROM Base"
  317. depends on ROMKERNEL
  318. default "0x20040040"
  319. range 0x20000000 0x20400000 if !(BF54x || BF561)
  320. range 0x20000000 0x30000000 if (BF54x || BF561)
  321. help
  322. Make sure your ROM base does not include any file-header
  323. information that is prepended to the kernel.
  324. For example, the bootable U-Boot format (created with
  325. mkimage) has a 64 byte header (0x40). So while the image
  326. you write to flash might start at say 0x20080000, you have
  327. to add 0x40 to get the kernel's ROM base as it will come
  328. after the header.
  329. comment "Clock/PLL Setup"
  330. config CLKIN_HZ
  331. int "Frequency of the crystal on the board in Hz"
  332. default "10000000" if BFIN532_IP0X
  333. default "11059200" if BFIN533_STAMP
  334. default "24576000" if PNAV10
  335. default "25000000" # most people use this
  336. default "27000000" if BFIN533_EZKIT
  337. default "30000000" if BFIN561_EZKIT
  338. default "24000000" if BFIN527_AD7160EVAL
  339. help
  340. The frequency of CLKIN crystal oscillator on the board in Hz.
  341. Warning: This value should match the crystal on the board. Otherwise,
  342. peripherals won't work properly.
  343. config BFIN_KERNEL_CLOCK
  344. bool "Re-program Clocks while Kernel boots?"
  345. default n
  346. help
  347. This option decides if kernel clocks are re-programed from the
  348. bootloader settings. If the clocks are not set, the SDRAM settings
  349. are also not changed, and the Bootloader does 100% of the hardware
  350. configuration.
  351. config PLL_BYPASS
  352. bool "Bypass PLL"
  353. depends on BFIN_KERNEL_CLOCK && (!BF60x)
  354. default n
  355. config CLKIN_HALF
  356. bool "Half Clock In"
  357. depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
  358. default n
  359. help
  360. If this is set the clock will be divided by 2, before it goes to the PLL.
  361. config VCO_MULT
  362. int "VCO Multiplier"
  363. depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
  364. range 1 64
  365. default "22" if BFIN533_EZKIT
  366. default "45" if BFIN533_STAMP
  367. default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN527_EZKIT_V2 || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM || BFIN538_EZKIT)
  368. default "22" if BFIN533_BLUETECHNIX_CM
  369. default "20" if (BFIN537_BLUETECHNIX_CM_E || BFIN537_BLUETECHNIX_CM_U || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM)
  370. default "20" if (BFIN561_EZKIT || BF609)
  371. default "16" if (H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD || BFIN518F_EZBRD)
  372. default "25" if BFIN527_AD7160EVAL
  373. help
  374. This controls the frequency of the on-chip PLL. This can be between 1 and 64.
  375. PLL Frequency = (Crystal Frequency) * (this setting)
  376. choice
  377. prompt "Core Clock Divider"
  378. depends on BFIN_KERNEL_CLOCK
  379. default CCLK_DIV_1
  380. help
  381. This sets the frequency of the core. It can be 1, 2, 4 or 8
  382. Core Frequency = (PLL frequency) / (this setting)
  383. config CCLK_DIV_1
  384. bool "1"
  385. config CCLK_DIV_2
  386. bool "2"
  387. config CCLK_DIV_4
  388. bool "4"
  389. config CCLK_DIV_8
  390. bool "8"
  391. endchoice
  392. config SCLK_DIV
  393. int "System Clock Divider"
  394. depends on BFIN_KERNEL_CLOCK
  395. range 1 15
  396. default 4
  397. help
  398. This sets the frequency of the system clock (including SDRAM or DDR) on
  399. !BF60x else it set the clock for system buses and provides the
  400. source from which SCLK0 and SCLK1 are derived.
  401. This can be between 1 and 15
  402. System Clock = (PLL frequency) / (this setting)
  403. config SCLK0_DIV
  404. int "System Clock0 Divider"
  405. depends on BFIN_KERNEL_CLOCK && BF60x
  406. range 1 15
  407. default 1
  408. help
  409. This sets the frequency of the system clock0 for PVP and all other
  410. peripherals not clocked by SCLK1.
  411. This can be between 1 and 15
  412. System Clock0 = (System Clock) / (this setting)
  413. config SCLK1_DIV
  414. int "System Clock1 Divider"
  415. depends on BFIN_KERNEL_CLOCK && BF60x
  416. range 1 15
  417. default 1
  418. help
  419. This sets the frequency of the system clock1 (including SPORT, SPI and ACM).
  420. This can be between 1 and 15
  421. System Clock1 = (System Clock) / (this setting)
  422. config DCLK_DIV
  423. int "DDR Clock Divider"
  424. depends on BFIN_KERNEL_CLOCK && BF60x
  425. range 1 15
  426. default 2
  427. help
  428. This sets the frequency of the DDR memory.
  429. This can be between 1 and 15
  430. DDR Clock = (PLL frequency) / (this setting)
  431. choice
  432. prompt "DDR SDRAM Chip Type"
  433. depends on BFIN_KERNEL_CLOCK
  434. depends on BF54x
  435. default MEM_MT46V32M16_5B
  436. config MEM_MT46V32M16_6T
  437. bool "MT46V32M16_6T"
  438. config MEM_MT46V32M16_5B
  439. bool "MT46V32M16_5B"
  440. endchoice
  441. choice
  442. prompt "DDR/SDRAM Timing"
  443. depends on BFIN_KERNEL_CLOCK && !BF60x
  444. default BFIN_KERNEL_CLOCK_MEMINIT_CALC
  445. help
  446. This option allows you to specify Blackfin SDRAM/DDR Timing parameters
  447. The calculated SDRAM timing parameters may not be 100%
  448. accurate - This option is therefore marked experimental.
  449. config BFIN_KERNEL_CLOCK_MEMINIT_CALC
  450. bool "Calculate Timings (EXPERIMENTAL)"
  451. depends on EXPERIMENTAL
  452. config BFIN_KERNEL_CLOCK_MEMINIT_SPEC
  453. bool "Provide accurate Timings based on target SCLK"
  454. help
  455. Please consult the Blackfin Hardware Reference Manuals as well
  456. as the memory device datasheet.
  457. http://docs.blackfin.uclinux.org/doku.php?id=bfin:sdram
  458. endchoice
  459. menu "Memory Init Control"
  460. depends on BFIN_KERNEL_CLOCK_MEMINIT_SPEC
  461. config MEM_DDRCTL0
  462. depends on BF54x
  463. hex "DDRCTL0"
  464. default 0x0
  465. config MEM_DDRCTL1
  466. depends on BF54x
  467. hex "DDRCTL1"
  468. default 0x0
  469. config MEM_DDRCTL2
  470. depends on BF54x
  471. hex "DDRCTL2"
  472. default 0x0
  473. config MEM_EBIU_DDRQUE
  474. depends on BF54x
  475. hex "DDRQUE"
  476. default 0x0
  477. config MEM_SDRRC
  478. depends on !BF54x
  479. hex "SDRRC"
  480. default 0x0
  481. config MEM_SDGCTL
  482. depends on !BF54x
  483. hex "SDGCTL"
  484. default 0x0
  485. endmenu
  486. #
  487. # Max & Min Speeds for various Chips
  488. #
  489. config MAX_VCO_HZ
  490. int
  491. default 400000000 if BF512
  492. default 400000000 if BF514
  493. default 400000000 if BF516
  494. default 400000000 if BF518
  495. default 400000000 if BF522
  496. default 600000000 if BF523
  497. default 400000000 if BF524
  498. default 600000000 if BF525
  499. default 400000000 if BF526
  500. default 600000000 if BF527
  501. default 400000000 if BF531
  502. default 400000000 if BF532
  503. default 750000000 if BF533
  504. default 500000000 if BF534
  505. default 400000000 if BF536
  506. default 600000000 if BF537
  507. default 533333333 if BF538
  508. default 533333333 if BF539
  509. default 600000000 if BF542
  510. default 533333333 if BF544
  511. default 600000000 if BF547
  512. default 600000000 if BF548
  513. default 533333333 if BF549
  514. default 600000000 if BF561
  515. default 800000000 if BF609
  516. config MIN_VCO_HZ
  517. int
  518. default 50000000
  519. config MAX_SCLK_HZ
  520. int
  521. default 200000000 if BF609
  522. default 133333333
  523. config MIN_SCLK_HZ
  524. int
  525. default 27000000
  526. comment "Kernel Timer/Scheduler"
  527. source kernel/Kconfig.hz
  528. config SET_GENERIC_CLOCKEVENTS
  529. bool "Generic clock events"
  530. default y
  531. select GENERIC_CLOCKEVENTS
  532. menu "Clock event device"
  533. depends on GENERIC_CLOCKEVENTS
  534. config TICKSOURCE_GPTMR0
  535. bool "GPTimer0"
  536. depends on !SMP
  537. select BFIN_GPTIMERS
  538. config TICKSOURCE_CORETMR
  539. bool "Core timer"
  540. default y
  541. endmenu
  542. menu "Clock souce"
  543. depends on GENERIC_CLOCKEVENTS
  544. config CYCLES_CLOCKSOURCE
  545. bool "CYCLES"
  546. default y
  547. depends on !BFIN_SCRATCH_REG_CYCLES
  548. depends on !SMP
  549. help
  550. If you say Y here, you will enable support for using the 'cycles'
  551. registers as a clock source. Doing so means you will be unable to
  552. safely write to the 'cycles' register during runtime. You will
  553. still be able to read it (such as for performance monitoring), but
  554. writing the registers will most likely crash the kernel.
  555. config GPTMR0_CLOCKSOURCE
  556. bool "GPTimer0"
  557. select BFIN_GPTIMERS
  558. depends on !TICKSOURCE_GPTMR0
  559. endmenu
  560. comment "Misc"
  561. choice
  562. prompt "Blackfin Exception Scratch Register"
  563. default BFIN_SCRATCH_REG_RETN
  564. help
  565. Select the resource to reserve for the Exception handler:
  566. - RETN: Non-Maskable Interrupt (NMI)
  567. - RETE: Exception Return (JTAG/ICE)
  568. - CYCLES: Performance counter
  569. If you are unsure, please select "RETN".
  570. config BFIN_SCRATCH_REG_RETN
  571. bool "RETN"
  572. help
  573. Use the RETN register in the Blackfin exception handler
  574. as a stack scratch register. This means you cannot
  575. safely use NMI on the Blackfin while running Linux, but
  576. you can debug the system with a JTAG ICE and use the
  577. CYCLES performance registers.
  578. If you are unsure, please select "RETN".
  579. config BFIN_SCRATCH_REG_RETE
  580. bool "RETE"
  581. help
  582. Use the RETE register in the Blackfin exception handler
  583. as a stack scratch register. This means you cannot
  584. safely use a JTAG ICE while debugging a Blackfin board,
  585. but you can safely use the CYCLES performance registers
  586. and the NMI.
  587. If you are unsure, please select "RETN".
  588. config BFIN_SCRATCH_REG_CYCLES
  589. bool "CYCLES"
  590. help
  591. Use the CYCLES register in the Blackfin exception handler
  592. as a stack scratch register. This means you cannot
  593. safely use the CYCLES performance registers on a Blackfin
  594. board at anytime, but you can debug the system with a JTAG
  595. ICE and use the NMI.
  596. If you are unsure, please select "RETN".
  597. endchoice
  598. endmenu
  599. menu "Blackfin Kernel Optimizations"
  600. comment "Memory Optimizations"
  601. config I_ENTRY_L1
  602. bool "Locate interrupt entry code in L1 Memory"
  603. default y
  604. depends on !SMP
  605. help
  606. If enabled, interrupt entry code (STORE/RESTORE CONTEXT) is linked
  607. into L1 instruction memory. (less latency)
  608. config EXCPT_IRQ_SYSC_L1
  609. bool "Locate entire ASM lowlevel exception / interrupt - Syscall and CPLB handler code in L1 Memory"
  610. default y
  611. depends on !SMP
  612. help
  613. If enabled, the entire ASM lowlevel exception and interrupt entry code
  614. (STORE/RESTORE CONTEXT) is linked into L1 instruction memory.
  615. (less latency)
  616. config DO_IRQ_L1
  617. bool "Locate frequently called do_irq dispatcher function in L1 Memory"
  618. default y
  619. depends on !SMP
  620. help
  621. If enabled, the frequently called do_irq dispatcher function is linked
  622. into L1 instruction memory. (less latency)
  623. config CORE_TIMER_IRQ_L1
  624. bool "Locate frequently called timer_interrupt() function in L1 Memory"
  625. default y
  626. depends on !SMP
  627. help
  628. If enabled, the frequently called timer_interrupt() function is linked
  629. into L1 instruction memory. (less latency)
  630. config IDLE_L1
  631. bool "Locate frequently idle function in L1 Memory"
  632. default y
  633. depends on !SMP
  634. help
  635. If enabled, the frequently called idle function is linked
  636. into L1 instruction memory. (less latency)
  637. config SCHEDULE_L1
  638. bool "Locate kernel schedule function in L1 Memory"
  639. default y
  640. depends on !SMP
  641. help
  642. If enabled, the frequently called kernel schedule is linked
  643. into L1 instruction memory. (less latency)
  644. config ARITHMETIC_OPS_L1
  645. bool "Locate kernel owned arithmetic functions in L1 Memory"
  646. default y
  647. depends on !SMP
  648. help
  649. If enabled, arithmetic functions are linked
  650. into L1 instruction memory. (less latency)
  651. config ACCESS_OK_L1
  652. bool "Locate access_ok function in L1 Memory"
  653. default y
  654. depends on !SMP
  655. help
  656. If enabled, the access_ok function is linked
  657. into L1 instruction memory. (less latency)
  658. config MEMSET_L1
  659. bool "Locate memset function in L1 Memory"
  660. default y
  661. depends on !SMP
  662. help
  663. If enabled, the memset function is linked
  664. into L1 instruction memory. (less latency)
  665. config MEMCPY_L1
  666. bool "Locate memcpy function in L1 Memory"
  667. default y
  668. depends on !SMP
  669. help
  670. If enabled, the memcpy function is linked
  671. into L1 instruction memory. (less latency)
  672. config STRCMP_L1
  673. bool "locate strcmp function in L1 Memory"
  674. default y
  675. depends on !SMP
  676. help
  677. If enabled, the strcmp function is linked
  678. into L1 instruction memory (less latency).
  679. config STRNCMP_L1
  680. bool "locate strncmp function in L1 Memory"
  681. default y
  682. depends on !SMP
  683. help
  684. If enabled, the strncmp function is linked
  685. into L1 instruction memory (less latency).
  686. config STRCPY_L1
  687. bool "locate strcpy function in L1 Memory"
  688. default y
  689. depends on !SMP
  690. help
  691. If enabled, the strcpy function is linked
  692. into L1 instruction memory (less latency).
  693. config STRNCPY_L1
  694. bool "locate strncpy function in L1 Memory"
  695. default y
  696. depends on !SMP
  697. help
  698. If enabled, the strncpy function is linked
  699. into L1 instruction memory (less latency).
  700. config SYS_BFIN_SPINLOCK_L1
  701. bool "Locate sys_bfin_spinlock function in L1 Memory"
  702. default y
  703. depends on !SMP
  704. help
  705. If enabled, sys_bfin_spinlock function is linked
  706. into L1 instruction memory. (less latency)
  707. config IP_CHECKSUM_L1
  708. bool "Locate IP Checksum function in L1 Memory"
  709. default n
  710. depends on !SMP
  711. help
  712. If enabled, the IP Checksum function is linked
  713. into L1 instruction memory. (less latency)
  714. config CACHELINE_ALIGNED_L1
  715. bool "Locate cacheline_aligned data to L1 Data Memory"
  716. default y if !BF54x
  717. default n if BF54x
  718. depends on !SMP && !BF531 && !CRC32
  719. help
  720. If enabled, cacheline_aligned data is linked
  721. into L1 data memory. (less latency)
  722. config SYSCALL_TAB_L1
  723. bool "Locate Syscall Table L1 Data Memory"
  724. default n
  725. depends on !SMP && !BF531
  726. help
  727. If enabled, the Syscall LUT is linked
  728. into L1 data memory. (less latency)
  729. config CPLB_SWITCH_TAB_L1
  730. bool "Locate CPLB Switch Tables L1 Data Memory"
  731. default n
  732. depends on !SMP && !BF531
  733. help
  734. If enabled, the CPLB Switch Tables are linked
  735. into L1 data memory. (less latency)
  736. config ICACHE_FLUSH_L1
  737. bool "Locate icache flush funcs in L1 Inst Memory"
  738. default y
  739. help
  740. If enabled, the Blackfin icache flushing functions are linked
  741. into L1 instruction memory.
  742. Note that this might be required to address anomalies, but
  743. these functions are pretty small, so it shouldn't be too bad.
  744. If you are using a processor affected by an anomaly, the build
  745. system will double check for you and prevent it.
  746. config DCACHE_FLUSH_L1
  747. bool "Locate dcache flush funcs in L1 Inst Memory"
  748. default y
  749. depends on !SMP
  750. help
  751. If enabled, the Blackfin dcache flushing functions are linked
  752. into L1 instruction memory.
  753. config APP_STACK_L1
  754. bool "Support locating application stack in L1 Scratch Memory"
  755. default y
  756. depends on !SMP
  757. help
  758. If enabled the application stack can be located in L1
  759. scratch memory (less latency).
  760. Currently only works with FLAT binaries.
  761. config EXCEPTION_L1_SCRATCH
  762. bool "Locate exception stack in L1 Scratch Memory"
  763. default n
  764. depends on !SMP && !APP_STACK_L1
  765. help
  766. Whenever an exception occurs, use the L1 Scratch memory for
  767. stack storage. You cannot place the stacks of FLAT binaries
  768. in L1 when using this option.
  769. If you don't use L1 Scratch, then you should say Y here.
  770. comment "Speed Optimizations"
  771. config BFIN_INS_LOWOVERHEAD
  772. bool "ins[bwl] low overhead, higher interrupt latency"
  773. default y
  774. depends on !SMP
  775. help
  776. Reads on the Blackfin are speculative. In Blackfin terms, this means
  777. they can be interrupted at any time (even after they have been issued
  778. on to the external bus), and re-issued after the interrupt occurs.
  779. For memory - this is not a big deal, since memory does not change if
  780. it sees a read.
  781. If a FIFO is sitting on the end of the read, it will see two reads,
  782. when the core only sees one since the FIFO receives both the read
  783. which is cancelled (and not delivered to the core) and the one which
  784. is re-issued (which is delivered to the core).
  785. To solve this, interrupts are turned off before reads occur to
  786. I/O space. This option controls which the overhead/latency of
  787. controlling interrupts during this time
  788. "n" turns interrupts off every read
  789. (higher overhead, but lower interrupt latency)
  790. "y" turns interrupts off every loop
  791. (low overhead, but longer interrupt latency)
  792. default behavior is to leave this set to on (type "Y"). If you are experiencing
  793. interrupt latency issues, it is safe and OK to turn this off.
  794. endmenu
  795. choice
  796. prompt "Kernel executes from"
  797. help
  798. Choose the memory type that the kernel will be running in.
  799. config RAMKERNEL
  800. bool "RAM"
  801. help
  802. The kernel will be resident in RAM when running.
  803. config ROMKERNEL
  804. bool "ROM"
  805. help
  806. The kernel will be resident in FLASH/ROM when running.
  807. endchoice
  808. # Common code uses "ROMKERNEL" or "XIP_KERNEL", so define both
  809. config XIP_KERNEL
  810. bool
  811. default y
  812. depends on ROMKERNEL
  813. source "mm/Kconfig"
  814. config BFIN_GPTIMERS
  815. tristate "Enable Blackfin General Purpose Timers API"
  816. default n
  817. help
  818. Enable support for the General Purpose Timers API. If you
  819. are unsure, say N.
  820. To compile this driver as a module, choose M here: the module
  821. will be called gptimers.
  822. config HAVE_PWM
  823. tristate "Enable PWM API support"
  824. depends on BFIN_GPTIMERS
  825. help
  826. Enable support for the Pulse Width Modulation framework (as
  827. found in linux/pwm.h).
  828. To compile this driver as a module, choose M here: the module
  829. will be called pwm.
  830. choice
  831. prompt "Uncached DMA region"
  832. default DMA_UNCACHED_1M
  833. config DMA_UNCACHED_4M
  834. bool "Enable 4M DMA region"
  835. config DMA_UNCACHED_2M
  836. bool "Enable 2M DMA region"
  837. config DMA_UNCACHED_1M
  838. bool "Enable 1M DMA region"
  839. config DMA_UNCACHED_512K
  840. bool "Enable 512K DMA region"
  841. config DMA_UNCACHED_256K
  842. bool "Enable 256K DMA region"
  843. config DMA_UNCACHED_128K
  844. bool "Enable 128K DMA region"
  845. config DMA_UNCACHED_NONE
  846. bool "Disable DMA region"
  847. endchoice
  848. comment "Cache Support"
  849. config BFIN_ICACHE
  850. bool "Enable ICACHE"
  851. default y
  852. config BFIN_EXTMEM_ICACHEABLE
  853. bool "Enable ICACHE for external memory"
  854. depends on BFIN_ICACHE
  855. default y
  856. config BFIN_L2_ICACHEABLE
  857. bool "Enable ICACHE for L2 SRAM"
  858. depends on BFIN_ICACHE
  859. depends on BF54x || BF561
  860. default n
  861. config BFIN_DCACHE
  862. bool "Enable DCACHE"
  863. default y
  864. config BFIN_DCACHE_BANKA
  865. bool "Enable only 16k BankA DCACHE - BankB is SRAM"
  866. depends on BFIN_DCACHE && !BF531
  867. default n
  868. config BFIN_EXTMEM_DCACHEABLE
  869. bool "Enable DCACHE for external memory"
  870. depends on BFIN_DCACHE
  871. default y
  872. choice
  873. prompt "External memory DCACHE policy"
  874. depends on BFIN_EXTMEM_DCACHEABLE
  875. default BFIN_EXTMEM_WRITEBACK if !SMP
  876. default BFIN_EXTMEM_WRITETHROUGH if SMP
  877. config BFIN_EXTMEM_WRITEBACK
  878. bool "Write back"
  879. depends on !SMP
  880. help
  881. Write Back Policy:
  882. Cached data will be written back to SDRAM only when needed.
  883. This can give a nice increase in performance, but beware of
  884. broken drivers that do not properly invalidate/flush their
  885. cache.
  886. Write Through Policy:
  887. Cached data will always be written back to SDRAM when the
  888. cache is updated. This is a completely safe setting, but
  889. performance is worse than Write Back.
  890. If you are unsure of the options and you want to be safe,
  891. then go with Write Through.
  892. config BFIN_EXTMEM_WRITETHROUGH
  893. bool "Write through"
  894. help
  895. Write Back Policy:
  896. Cached data will be written back to SDRAM only when needed.
  897. This can give a nice increase in performance, but beware of
  898. broken drivers that do not properly invalidate/flush their
  899. cache.
  900. Write Through Policy:
  901. Cached data will always be written back to SDRAM when the
  902. cache is updated. This is a completely safe setting, but
  903. performance is worse than Write Back.
  904. If you are unsure of the options and you want to be safe,
  905. then go with Write Through.
  906. endchoice
  907. config BFIN_L2_DCACHEABLE
  908. bool "Enable DCACHE for L2 SRAM"
  909. depends on BFIN_DCACHE
  910. depends on (BF54x || BF561 || BF60x) && !SMP
  911. default n
  912. choice
  913. prompt "L2 SRAM DCACHE policy"
  914. depends on BFIN_L2_DCACHEABLE
  915. default BFIN_L2_WRITEBACK
  916. config BFIN_L2_WRITEBACK
  917. bool "Write back"
  918. config BFIN_L2_WRITETHROUGH
  919. bool "Write through"
  920. endchoice
  921. comment "Memory Protection Unit"
  922. config MPU
  923. bool "Enable the memory protection unit (EXPERIMENTAL)"
  924. default n
  925. help
  926. Use the processor's MPU to protect applications from accessing
  927. memory they do not own. This comes at a performance penalty
  928. and is recommended only for debugging.
  929. comment "Asynchronous Memory Configuration"
  930. menu "EBIU_AMGCTL Global Control"
  931. depends on !BF60x
  932. config C_AMCKEN
  933. bool "Enable CLKOUT"
  934. default y
  935. config C_CDPRIO
  936. bool "DMA has priority over core for ext. accesses"
  937. default n
  938. config C_B0PEN
  939. depends on BF561
  940. bool "Bank 0 16 bit packing enable"
  941. default y
  942. config C_B1PEN
  943. depends on BF561
  944. bool "Bank 1 16 bit packing enable"
  945. default y
  946. config C_B2PEN
  947. depends on BF561
  948. bool "Bank 2 16 bit packing enable"
  949. default y
  950. config C_B3PEN
  951. depends on BF561
  952. bool "Bank 3 16 bit packing enable"
  953. default n
  954. choice
  955. prompt "Enable Asynchronous Memory Banks"
  956. default C_AMBEN_ALL
  957. config C_AMBEN
  958. bool "Disable All Banks"
  959. config C_AMBEN_B0
  960. bool "Enable Bank 0"
  961. config C_AMBEN_B0_B1
  962. bool "Enable Bank 0 & 1"
  963. config C_AMBEN_B0_B1_B2
  964. bool "Enable Bank 0 & 1 & 2"
  965. config C_AMBEN_ALL
  966. bool "Enable All Banks"
  967. endchoice
  968. endmenu
  969. menu "EBIU_AMBCTL Control"
  970. depends on !BF60x
  971. config BANK_0
  972. hex "Bank 0 (AMBCTL0.L)"
  973. default 0x7BB0
  974. help
  975. These are the low 16 bits of the EBIU_AMBCTL0 MMR which are
  976. used to control the Asynchronous Memory Bank 0 settings.
  977. config BANK_1
  978. hex "Bank 1 (AMBCTL0.H)"
  979. default 0x7BB0
  980. default 0x5558 if BF54x
  981. help
  982. These are the high 16 bits of the EBIU_AMBCTL0 MMR which are
  983. used to control the Asynchronous Memory Bank 1 settings.
  984. config BANK_2
  985. hex "Bank 2 (AMBCTL1.L)"
  986. default 0x7BB0
  987. help
  988. These are the low 16 bits of the EBIU_AMBCTL1 MMR which are
  989. used to control the Asynchronous Memory Bank 2 settings.
  990. config BANK_3
  991. hex "Bank 3 (AMBCTL1.H)"
  992. default 0x99B3
  993. help
  994. These are the high 16 bits of the EBIU_AMBCTL1 MMR which are
  995. used to control the Asynchronous Memory Bank 3 settings.
  996. endmenu
  997. config EBIU_MBSCTLVAL
  998. hex "EBIU Bank Select Control Register"
  999. depends on BF54x
  1000. default 0
  1001. config EBIU_MODEVAL
  1002. hex "Flash Memory Mode Control Register"
  1003. depends on BF54x
  1004. default 1
  1005. config EBIU_FCTLVAL
  1006. hex "Flash Memory Bank Control Register"
  1007. depends on BF54x
  1008. default 6
  1009. endmenu
  1010. #############################################################################
  1011. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  1012. config PCI
  1013. bool "PCI support"
  1014. depends on BROKEN
  1015. help
  1016. Support for PCI bus.
  1017. source "drivers/pci/Kconfig"
  1018. source "drivers/pcmcia/Kconfig"
  1019. source "drivers/pci/hotplug/Kconfig"
  1020. endmenu
  1021. menu "Executable file formats"
  1022. source "fs/Kconfig.binfmt"
  1023. endmenu
  1024. menu "Power management options"
  1025. source "kernel/power/Kconfig"
  1026. config ARCH_SUSPEND_POSSIBLE
  1027. def_bool y
  1028. choice
  1029. prompt "Standby Power Saving Mode"
  1030. depends on PM && !BF60x
  1031. default PM_BFIN_SLEEP_DEEPER
  1032. config PM_BFIN_SLEEP_DEEPER
  1033. bool "Sleep Deeper"
  1034. help
  1035. Sleep "Deeper" Mode (High Power Savings) - This mode reduces dynamic
  1036. power dissipation by disabling the clock to the processor core (CCLK).
  1037. Furthermore, Standby sets the internal power supply voltage (VDDINT)
  1038. to 0.85 V to provide the greatest power savings, while preserving the
  1039. processor state.
  1040. The PLL and system clock (SCLK) continue to operate at a very low
  1041. frequency of about 3.3 MHz. To preserve data integrity in the SDRAM,
  1042. the SDRAM is put into Self Refresh Mode. Typically an external event
  1043. such as GPIO interrupt or RTC activity wakes up the processor.
  1044. Various Peripherals such as UART, SPORT, PPI may not function as
  1045. normal during Sleep Deeper, due to the reduced SCLK frequency.
  1046. When in the sleep mode, system DMA access to L1 memory is not supported.
  1047. If unsure, select "Sleep Deeper".
  1048. config PM_BFIN_SLEEP
  1049. bool "Sleep"
  1050. help
  1051. Sleep Mode (High Power Savings) - The sleep mode reduces power
  1052. dissipation by disabling the clock to the processor core (CCLK).
  1053. The PLL and system clock (SCLK), however, continue to operate in
  1054. this mode. Typically an external event or RTC activity will wake
  1055. up the processor. When in the sleep mode, system DMA access to L1
  1056. memory is not supported.
  1057. If unsure, select "Sleep Deeper".
  1058. endchoice
  1059. comment "Possible Suspend Mem / Hibernate Wake-Up Sources"
  1060. depends on PM
  1061. config PM_BFIN_WAKE_PH6
  1062. bool "Allow Wake-Up from on-chip PHY or PH6 GP"
  1063. depends on PM && (BF51x || BF52x || BF534 || BF536 || BF537)
  1064. default n
  1065. help
  1066. Enable PHY and PH6 GP Wake-Up (Voltage Regulator Power-Up)
  1067. config PM_BFIN_WAKE_GP
  1068. bool "Allow Wake-Up from GPIOs"
  1069. depends on PM && BF54x
  1070. default n
  1071. help
  1072. Enable General-Purpose Wake-Up (Voltage Regulator Power-Up)
  1073. (all processors, except ADSP-BF549). This option sets
  1074. the general-purpose wake-up enable (GPWE) control bit to enable
  1075. wake-up upon detection of an active low signal on the /GPW (PH7) pin.
  1076. On ADSP-BF549 this option enables the same functionality on the
  1077. /MRXON pin also PH7.
  1078. config PM_BFIN_WAKE_PA15
  1079. bool "Allow Wake-Up from PA15"
  1080. depends on PM && BF60x
  1081. default n
  1082. help
  1083. Enable PA15 Wake-Up
  1084. config PM_BFIN_WAKE_PA15_POL
  1085. int "Wake-up priority"
  1086. depends on PM_BFIN_WAKE_PA15
  1087. default 0
  1088. help
  1089. Wake-Up priority 0(low) 1(high)
  1090. config PM_BFIN_WAKE_PB15
  1091. bool "Allow Wake-Up from PB15"
  1092. depends on PM && BF60x
  1093. default n
  1094. help
  1095. Enable PB15 Wake-Up
  1096. config PM_BFIN_WAKE_PB15_POL
  1097. int "Wake-up priority"
  1098. depends on PM_BFIN_WAKE_PB15
  1099. default 0
  1100. help
  1101. Wake-Up priority 0(low) 1(high)
  1102. config PM_BFIN_WAKE_PC15
  1103. bool "Allow Wake-Up from PC15"
  1104. depends on PM && BF60x
  1105. default n
  1106. help
  1107. Enable PC15 Wake-Up
  1108. config PM_BFIN_WAKE_PC15_POL
  1109. int "Wake-up priority"
  1110. depends on PM_BFIN_WAKE_PC15
  1111. default 0
  1112. help
  1113. Wake-Up priority 0(low) 1(high)
  1114. config PM_BFIN_WAKE_PD06
  1115. bool "Allow Wake-Up from PD06(ETH0_PHYINT)"
  1116. depends on PM && BF60x
  1117. default n
  1118. help
  1119. Enable PD06(ETH0_PHYINT) Wake-up
  1120. config PM_BFIN_WAKE_PD06_POL
  1121. int "Wake-up priority"
  1122. depends on PM_BFIN_WAKE_PD06
  1123. default 0
  1124. help
  1125. Wake-Up priority 0(low) 1(high)
  1126. config PM_BFIN_WAKE_PE12
  1127. bool "Allow Wake-Up from PE12(ETH1_PHYINT, PUSH BUTTON)"
  1128. depends on PM && BF60x
  1129. default n
  1130. help
  1131. Enable PE12(ETH1_PHYINT, PUSH BUTTON) Wake-up
  1132. config PM_BFIN_WAKE_PE12_POL
  1133. int "Wake-up priority"
  1134. depends on PM_BFIN_WAKE_PE12
  1135. default 0
  1136. help
  1137. Wake-Up priority 0(low) 1(high)
  1138. config PM_BFIN_WAKE_PG04
  1139. bool "Allow Wake-Up from PG04(CAN0_RX)"
  1140. depends on PM && BF60x
  1141. default n
  1142. help
  1143. Enable PG04(CAN0_RX) Wake-up
  1144. config PM_BFIN_WAKE_PG04_POL
  1145. int "Wake-up priority"
  1146. depends on PM_BFIN_WAKE_PG04
  1147. default 0
  1148. help
  1149. Wake-Up priority 0(low) 1(high)
  1150. config PM_BFIN_WAKE_PG13
  1151. bool "Allow Wake-Up from PG13"
  1152. depends on PM && BF60x
  1153. default n
  1154. help
  1155. Enable PG13 Wake-Up
  1156. config PM_BFIN_WAKE_PG13_POL
  1157. int "Wake-up priority"
  1158. depends on PM_BFIN_WAKE_PG13
  1159. default 0
  1160. help
  1161. Wake-Up priority 0(low) 1(high)
  1162. config PM_BFIN_WAKE_USB
  1163. bool "Allow Wake-Up from (USB)"
  1164. depends on PM && BF60x
  1165. default n
  1166. help
  1167. Enable (USB) Wake-up
  1168. config PM_BFIN_WAKE_USB_POL
  1169. int "Wake-up priority"
  1170. depends on PM_BFIN_WAKE_USB
  1171. default 0
  1172. help
  1173. Wake-Up priority 0(low) 1(high)
  1174. endmenu
  1175. menu "CPU Frequency scaling"
  1176. source "drivers/cpufreq/Kconfig"
  1177. config BFIN_CPU_FREQ
  1178. bool
  1179. depends on CPU_FREQ
  1180. select CPU_FREQ_TABLE
  1181. default y
  1182. config CPU_VOLTAGE
  1183. bool "CPU Voltage scaling"
  1184. depends on EXPERIMENTAL
  1185. depends on CPU_FREQ
  1186. default n
  1187. help
  1188. Say Y here if you want CPU voltage scaling according to the CPU frequency.
  1189. This option violates the PLL BYPASS recommendation in the Blackfin Processor
  1190. manuals. There is a theoretical risk that during VDDINT transitions
  1191. the PLL may unlock.
  1192. endmenu
  1193. source "net/Kconfig"
  1194. source "drivers/Kconfig"
  1195. source "drivers/firmware/Kconfig"
  1196. source "fs/Kconfig"
  1197. source "arch/blackfin/Kconfig.debug"
  1198. source "security/Kconfig"
  1199. source "crypto/Kconfig"
  1200. source "lib/Kconfig"