Kconfig 34 KB

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