Kconfig 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460
  1. config MMU
  2. def_bool n
  3. config FPU
  4. def_bool n
  5. config RWSEM_GENERIC_SPINLOCK
  6. def_bool y
  7. config RWSEM_XCHGADD_ALGORITHM
  8. def_bool n
  9. config BLACKFIN
  10. def_bool y
  11. select HAVE_ARCH_KGDB
  12. select HAVE_ARCH_TRACEHOOK
  13. select HAVE_DYNAMIC_FTRACE
  14. select HAVE_FTRACE_MCOUNT_RECORD
  15. select HAVE_FUNCTION_GRAPH_TRACER
  16. select HAVE_FUNCTION_TRACER
  17. select HAVE_IDE
  18. select HAVE_KERNEL_GZIP if RAMKERNEL
  19. select HAVE_KERNEL_BZIP2 if RAMKERNEL
  20. select HAVE_KERNEL_LZMA if RAMKERNEL
  21. select HAVE_KERNEL_LZO if RAMKERNEL
  22. select HAVE_OPROFILE
  23. select HAVE_PERF_EVENTS
  24. select ARCH_HAVE_CUSTOM_GPIO_H
  25. select ARCH_REQUIRE_GPIOLIB
  26. select HAVE_UID16
  27. select HAVE_UNDERSCORE_SYMBOL_PREFIX
  28. select VIRT_TO_BUS
  29. select ARCH_WANT_IPC_PARSE_VERSION
  30. select GENERIC_ATOMIC64
  31. select GENERIC_IRQ_PROBE
  32. select GENERIC_IRQ_SHOW
  33. select HAVE_NMI_WATCHDOG if NMI_WATCHDOG
  34. select GENERIC_SMP_IDLE_THREAD
  35. select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS
  36. select HAVE_MOD_ARCH_SPECIFIC
  37. select MODULES_USE_ELF_RELA
  38. select HAVE_DEBUG_STACKOVERFLOW
  39. config GENERIC_CSUM
  40. def_bool y
  41. config GENERIC_BUG
  42. def_bool y
  43. depends on BUG
  44. config ZONE_DMA
  45. def_bool y
  46. config FORCE_MAX_ZONEORDER
  47. int
  48. default "14"
  49. config GENERIC_CALIBRATE_DELAY
  50. def_bool y
  51. config LOCKDEP_SUPPORT
  52. def_bool y
  53. config STACKTRACE_SUPPORT
  54. def_bool y
  55. config TRACE_IRQFLAGS_SUPPORT
  56. def_bool y
  57. source "init/Kconfig"
  58. source "kernel/Kconfig.preempt"
  59. source "kernel/Kconfig.freezer"
  60. menu "Blackfin Processor Options"
  61. comment "Processor and Board Settings"
  62. choice
  63. prompt "CPU"
  64. default BF533
  65. config BF512
  66. bool "BF512"
  67. help
  68. BF512 Processor Support.
  69. config BF514
  70. bool "BF514"
  71. help
  72. BF514 Processor Support.
  73. config BF516
  74. bool "BF516"
  75. help
  76. BF516 Processor Support.
  77. config BF518
  78. bool "BF518"
  79. help
  80. BF518 Processor Support.
  81. config BF522
  82. bool "BF522"
  83. help
  84. BF522 Processor Support.
  85. config BF523
  86. bool "BF523"
  87. help
  88. BF523 Processor Support.
  89. config BF524
  90. bool "BF524"
  91. help
  92. BF524 Processor Support.
  93. config BF525
  94. bool "BF525"
  95. help
  96. BF525 Processor Support.
  97. config BF526
  98. bool "BF526"
  99. help
  100. BF526 Processor Support.
  101. config BF527
  102. bool "BF527"
  103. help
  104. BF527 Processor Support.
  105. config BF531
  106. bool "BF531"
  107. help
  108. BF531 Processor Support.
  109. config BF532
  110. bool "BF532"
  111. help
  112. BF532 Processor Support.
  113. config BF533
  114. bool "BF533"
  115. help
  116. BF533 Processor Support.
  117. config BF534
  118. bool "BF534"
  119. help
  120. BF534 Processor Support.
  121. config BF536
  122. bool "BF536"
  123. help
  124. BF536 Processor Support.
  125. config BF537
  126. bool "BF537"
  127. help
  128. BF537 Processor Support.
  129. config BF538
  130. bool "BF538"
  131. help
  132. BF538 Processor Support.
  133. config BF539
  134. bool "BF539"
  135. help
  136. BF539 Processor Support.
  137. config BF542_std
  138. bool "BF542"
  139. help
  140. BF542 Processor Support.
  141. config BF542M
  142. bool "BF542m"
  143. help
  144. BF542 Processor Support.
  145. config BF544_std
  146. bool "BF544"
  147. help
  148. BF544 Processor Support.
  149. config BF544M
  150. bool "BF544m"
  151. help
  152. BF544 Processor Support.
  153. config BF547_std
  154. bool "BF547"
  155. help
  156. BF547 Processor Support.
  157. config BF547M
  158. bool "BF547m"
  159. help
  160. BF547 Processor Support.
  161. config BF548_std
  162. bool "BF548"
  163. help
  164. BF548 Processor Support.
  165. config BF548M
  166. bool "BF548m"
  167. help
  168. BF548 Processor Support.
  169. config BF549_std
  170. bool "BF549"
  171. help
  172. BF549 Processor Support.
  173. config BF549M
  174. bool "BF549m"
  175. help
  176. BF549 Processor Support.
  177. config BF561
  178. bool "BF561"
  179. help
  180. BF561 Processor Support.
  181. config BF609
  182. bool "BF609"
  183. select CLKDEV_LOOKUP
  184. help
  185. BF609 Processor Support.
  186. endchoice
  187. config SMP
  188. depends on BF561
  189. select TICKSOURCE_CORETMR
  190. bool "Symmetric multi-processing support"
  191. ---help---
  192. This enables support for systems with more than one CPU,
  193. like the dual core BF561. If you have a system with only one
  194. CPU, say N. If you have a system with more than one CPU, say Y.
  195. If you don't know what to do here, say N.
  196. config NR_CPUS
  197. int
  198. depends on SMP
  199. default 2 if BF561
  200. config HOTPLUG_CPU
  201. bool "Support for hot-pluggable CPUs"
  202. depends on SMP
  203. default y
  204. config BF_REV_MIN
  205. int
  206. default 0 if (BF51x || BF52x || (BF54x && !BF54xM)) || BF60x
  207. default 2 if (BF537 || BF536 || BF534)
  208. default 3 if (BF561 || BF533 || BF532 || BF531 || BF54xM)
  209. default 4 if (BF538 || BF539)
  210. config BF_REV_MAX
  211. int
  212. default 2 if (BF51x || BF52x || (BF54x && !BF54xM)) || BF60x
  213. default 3 if (BF537 || BF536 || BF534 || BF54xM)
  214. default 5 if (BF561 || BF538 || BF539)
  215. default 6 if (BF533 || BF532 || BF531)
  216. choice
  217. prompt "Silicon Rev"
  218. default BF_REV_0_0 if (BF51x || BF52x || BF60x)
  219. default BF_REV_0_2 if (BF534 || BF536 || BF537 || (BF54x && !BF54xM))
  220. default BF_REV_0_3 if (BF531 || BF532 || BF533 || BF54xM || BF561)
  221. config BF_REV_0_0
  222. bool "0.0"
  223. depends on (BF51x || BF52x || (BF54x && !BF54xM) || BF60x)
  224. config BF_REV_0_1
  225. bool "0.1"
  226. depends on (BF51x || BF52x || (BF54x && !BF54xM) || BF60x)
  227. config BF_REV_0_2
  228. bool "0.2"
  229. depends on (BF51x || BF52x || BF537 || BF536 || BF534 || (BF54x && !BF54xM))
  230. config BF_REV_0_3
  231. bool "0.3"
  232. depends on (BF54xM || BF561 || BF537 || BF536 || BF534 || BF533 || BF532 || BF531)
  233. config BF_REV_0_4
  234. bool "0.4"
  235. depends on (BF561 || BF533 || BF532 || BF531 || BF538 || BF539 || BF54x)
  236. config BF_REV_0_5
  237. bool "0.5"
  238. depends on (BF561 || BF533 || BF532 || BF531 || BF538 || BF539)
  239. config BF_REV_0_6
  240. bool "0.6"
  241. depends on (BF533 || BF532 || BF531)
  242. config BF_REV_ANY
  243. bool "any"
  244. config BF_REV_NONE
  245. bool "none"
  246. endchoice
  247. config BF53x
  248. bool
  249. depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537)
  250. default y
  251. config GPIO_ADI
  252. def_bool y
  253. depends on (BF51x || BF52x || BF53x || BF538 || BF539 || BF561)
  254. config PINCTRL
  255. def_bool y
  256. depends on BF54x || BF60x
  257. config MEM_MT48LC64M4A2FB_7E
  258. bool
  259. depends on (BFIN533_STAMP)
  260. default y
  261. config MEM_MT48LC16M16A2TG_75
  262. bool
  263. depends on (BFIN533_EZKIT || BFIN561_EZKIT \
  264. || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM_E \
  265. || BFIN537_BLUETECHNIX_CM_U || H8606_HVSISTEMAS \
  266. || BFIN527_BLUETECHNIX_CM)
  267. default y
  268. config MEM_MT48LC32M8A2_75
  269. bool
  270. depends on (BFIN518F_EZBRD || BFIN537_STAMP || PNAV10 || BFIN538_EZKIT)
  271. default y
  272. config MEM_MT48LC8M32B2B5_7
  273. bool
  274. depends on (BFIN561_BLUETECHNIX_CM)
  275. default y
  276. config MEM_MT48LC32M16A2TG_75
  277. bool
  278. depends on (BFIN527_EZKIT || BFIN527_EZKIT_V2 || BFIN532_IP0X || BLACKSTAMP || BFIN527_AD7160EVAL)
  279. default y
  280. config MEM_MT48H32M16LFCJ_75
  281. bool
  282. depends on (BFIN526_EZBRD)
  283. default y
  284. config MEM_MT47H64M16
  285. bool
  286. depends on (BFIN609_EZKIT)
  287. default y
  288. source "arch/blackfin/mach-bf518/Kconfig"
  289. source "arch/blackfin/mach-bf527/Kconfig"
  290. source "arch/blackfin/mach-bf533/Kconfig"
  291. source "arch/blackfin/mach-bf561/Kconfig"
  292. source "arch/blackfin/mach-bf537/Kconfig"
  293. source "arch/blackfin/mach-bf538/Kconfig"
  294. source "arch/blackfin/mach-bf548/Kconfig"
  295. source "arch/blackfin/mach-bf609/Kconfig"
  296. menu "Board customizations"
  297. config CMDLINE_BOOL
  298. bool "Default bootloader kernel arguments"
  299. config CMDLINE
  300. string "Initial kernel command string"
  301. depends on CMDLINE_BOOL
  302. default "console=ttyBF0,57600"
  303. help
  304. If you don't have a boot loader capable of passing a command line string
  305. to the kernel, you may specify one here. As a minimum, you should specify
  306. the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
  307. config BOOT_LOAD
  308. hex "Kernel load address for booting"
  309. default "0x1000"
  310. range 0x1000 0x20000000
  311. help
  312. This option allows you to set the load address of the kernel.
  313. This can be useful if you are on a board which has a small amount
  314. of memory or you wish to reserve some memory at the beginning of
  315. the address space.
  316. Note that you need to keep this value above 4k (0x1000) as this
  317. memory region is used to capture NULL pointer references as well
  318. as some core kernel functions.
  319. config PHY_RAM_BASE_ADDRESS
  320. hex "Physical RAM Base"
  321. default 0x0
  322. help
  323. set BF609 FPGA physical SRAM base address
  324. config ROM_BASE
  325. hex "Kernel ROM Base"
  326. depends on ROMKERNEL
  327. default "0x20040040"
  328. range 0x20000000 0x20400000 if !(BF54x || BF561 || BF60x)
  329. range 0x20000000 0x30000000 if (BF54x || BF561)
  330. range 0xB0000000 0xC0000000 if (BF60x)
  331. help
  332. Make sure your ROM base does not include any file-header
  333. information that is prepended to the kernel.
  334. For example, the bootable U-Boot format (created with
  335. mkimage) has a 64 byte header (0x40). So while the image
  336. you write to flash might start at say 0x20080000, you have
  337. to add 0x40 to get the kernel's ROM base as it will come
  338. after the header.
  339. comment "Clock/PLL Setup"
  340. config CLKIN_HZ
  341. int "Frequency of the crystal on the board in Hz"
  342. default "10000000" if BFIN532_IP0X
  343. default "11059200" if BFIN533_STAMP
  344. default "24576000" if PNAV10
  345. default "25000000" # most people use this
  346. default "27000000" if BFIN533_EZKIT
  347. default "30000000" if BFIN561_EZKIT
  348. default "24000000" if BFIN527_AD7160EVAL
  349. help
  350. The frequency of CLKIN crystal oscillator on the board in Hz.
  351. Warning: This value should match the crystal on the board. Otherwise,
  352. peripherals won't work properly.
  353. config BFIN_KERNEL_CLOCK
  354. bool "Re-program Clocks while Kernel boots?"
  355. default n
  356. help
  357. This option decides if kernel clocks are re-programed from the
  358. bootloader settings. If the clocks are not set, the SDRAM settings
  359. are also not changed, and the Bootloader does 100% of the hardware
  360. configuration.
  361. config PLL_BYPASS
  362. bool "Bypass PLL"
  363. depends on BFIN_KERNEL_CLOCK && (!BF60x)
  364. default n
  365. config CLKIN_HALF
  366. bool "Half Clock In"
  367. depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
  368. default n
  369. help
  370. If this is set the clock will be divided by 2, before it goes to the PLL.
  371. config VCO_MULT
  372. int "VCO Multiplier"
  373. depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
  374. range 1 64
  375. default "22" if BFIN533_EZKIT
  376. default "45" if BFIN533_STAMP
  377. default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN527_EZKIT_V2 || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM || BFIN538_EZKIT)
  378. default "22" if BFIN533_BLUETECHNIX_CM
  379. default "20" if (BFIN537_BLUETECHNIX_CM_E || BFIN537_BLUETECHNIX_CM_U || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM)
  380. default "20" if (BFIN561_EZKIT || BF609)
  381. default "16" if (H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD || BFIN518F_EZBRD)
  382. default "25" if BFIN527_AD7160EVAL
  383. help
  384. This controls the frequency of the on-chip PLL. This can be between 1 and 64.
  385. PLL Frequency = (Crystal Frequency) * (this setting)
  386. choice
  387. prompt "Core Clock Divider"
  388. depends on BFIN_KERNEL_CLOCK
  389. default CCLK_DIV_1
  390. help
  391. This sets the frequency of the core. It can be 1, 2, 4 or 8
  392. Core Frequency = (PLL frequency) / (this setting)
  393. config CCLK_DIV_1
  394. bool "1"
  395. config CCLK_DIV_2
  396. bool "2"
  397. config CCLK_DIV_4
  398. bool "4"
  399. config CCLK_DIV_8
  400. bool "8"
  401. endchoice
  402. config SCLK_DIV
  403. int "System Clock Divider"
  404. depends on BFIN_KERNEL_CLOCK
  405. range 1 15
  406. default 4
  407. help
  408. This sets the frequency of the system clock (including SDRAM or DDR) on
  409. !BF60x else it set the clock for system buses and provides the
  410. source from which SCLK0 and SCLK1 are derived.
  411. This can be between 1 and 15
  412. System Clock = (PLL frequency) / (this setting)
  413. config SCLK0_DIV
  414. int "System Clock0 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 clock0 for PVP and all other
  420. peripherals not clocked by SCLK1.
  421. This can be between 1 and 15
  422. System Clock0 = (System Clock) / (this setting)
  423. config SCLK1_DIV
  424. int "System Clock1 Divider"
  425. depends on BFIN_KERNEL_CLOCK && BF60x
  426. range 1 15
  427. default 1
  428. help
  429. This sets the frequency of the system clock1 (including SPORT, SPI and ACM).
  430. This can be between 1 and 15
  431. System Clock1 = (System Clock) / (this setting)
  432. config DCLK_DIV
  433. int "DDR Clock Divider"
  434. depends on BFIN_KERNEL_CLOCK && BF60x
  435. range 1 15
  436. default 2
  437. help
  438. This sets the frequency of the DDR memory.
  439. This can be between 1 and 15
  440. DDR Clock = (PLL frequency) / (this setting)
  441. choice
  442. prompt "DDR SDRAM Chip Type"
  443. depends on BFIN_KERNEL_CLOCK
  444. depends on BF54x
  445. default MEM_MT46V32M16_5B
  446. config MEM_MT46V32M16_6T
  447. bool "MT46V32M16_6T"
  448. config MEM_MT46V32M16_5B
  449. bool "MT46V32M16_5B"
  450. endchoice
  451. choice
  452. prompt "DDR/SDRAM Timing"
  453. depends on BFIN_KERNEL_CLOCK && !BF60x
  454. default BFIN_KERNEL_CLOCK_MEMINIT_CALC
  455. help
  456. This option allows you to specify Blackfin SDRAM/DDR Timing parameters
  457. The calculated SDRAM timing parameters may not be 100%
  458. accurate - This option is therefore marked experimental.
  459. config BFIN_KERNEL_CLOCK_MEMINIT_CALC
  460. bool "Calculate Timings"
  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 source"
  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 CACHELINE_ALIGNED_L1
  717. bool "Locate cacheline_aligned data to L1 Data Memory"
  718. default y if !BF54x
  719. default n if BF54x
  720. depends on !SMP && !BF531 && !CRC32
  721. help
  722. If enabled, cacheline_aligned data is linked
  723. into L1 data memory. (less latency)
  724. config SYSCALL_TAB_L1
  725. bool "Locate Syscall Table L1 Data Memory"
  726. default n
  727. depends on !SMP && !BF531
  728. help
  729. If enabled, the Syscall LUT is linked
  730. into L1 data memory. (less latency)
  731. config CPLB_SWITCH_TAB_L1
  732. bool "Locate CPLB Switch Tables L1 Data Memory"
  733. default n
  734. depends on !SMP && !BF531
  735. help
  736. If enabled, the CPLB Switch Tables are linked
  737. into L1 data memory. (less latency)
  738. config ICACHE_FLUSH_L1
  739. bool "Locate icache flush funcs in L1 Inst Memory"
  740. default y
  741. help
  742. If enabled, the Blackfin icache flushing functions are linked
  743. into L1 instruction memory.
  744. Note that this might be required to address anomalies, but
  745. these functions are pretty small, so it shouldn't be too bad.
  746. If you are using a processor affected by an anomaly, the build
  747. system will double check for you and prevent it.
  748. config DCACHE_FLUSH_L1
  749. bool "Locate dcache flush funcs in L1 Inst Memory"
  750. default y
  751. depends on !SMP
  752. help
  753. If enabled, the Blackfin dcache flushing functions are linked
  754. into L1 instruction memory.
  755. config APP_STACK_L1
  756. bool "Support locating application stack in L1 Scratch Memory"
  757. default y
  758. depends on !SMP
  759. help
  760. If enabled the application stack can be located in L1
  761. scratch memory (less latency).
  762. Currently only works with FLAT binaries.
  763. config EXCEPTION_L1_SCRATCH
  764. bool "Locate exception stack in L1 Scratch Memory"
  765. default n
  766. depends on !SMP && !APP_STACK_L1
  767. help
  768. Whenever an exception occurs, use the L1 Scratch memory for
  769. stack storage. You cannot place the stacks of FLAT binaries
  770. in L1 when using this option.
  771. If you don't use L1 Scratch, then you should say Y here.
  772. comment "Speed Optimizations"
  773. config BFIN_INS_LOWOVERHEAD
  774. bool "ins[bwl] low overhead, higher interrupt latency"
  775. default y
  776. depends on !SMP
  777. help
  778. Reads on the Blackfin are speculative. In Blackfin terms, this means
  779. they can be interrupted at any time (even after they have been issued
  780. on to the external bus), and re-issued after the interrupt occurs.
  781. For memory - this is not a big deal, since memory does not change if
  782. it sees a read.
  783. If a FIFO is sitting on the end of the read, it will see two reads,
  784. when the core only sees one since the FIFO receives both the read
  785. which is cancelled (and not delivered to the core) and the one which
  786. is re-issued (which is delivered to the core).
  787. To solve this, interrupts are turned off before reads occur to
  788. I/O space. This option controls which the overhead/latency of
  789. controlling interrupts during this time
  790. "n" turns interrupts off every read
  791. (higher overhead, but lower interrupt latency)
  792. "y" turns interrupts off every loop
  793. (low overhead, but longer interrupt latency)
  794. default behavior is to leave this set to on (type "Y"). If you are experiencing
  795. interrupt latency issues, it is safe and OK to turn this off.
  796. endmenu
  797. choice
  798. prompt "Kernel executes from"
  799. help
  800. Choose the memory type that the kernel will be running in.
  801. config RAMKERNEL
  802. bool "RAM"
  803. help
  804. The kernel will be resident in RAM when running.
  805. config ROMKERNEL
  806. bool "ROM"
  807. help
  808. The kernel will be resident in FLASH/ROM when running.
  809. endchoice
  810. # Common code uses "ROMKERNEL" or "XIP_KERNEL", so define both
  811. config XIP_KERNEL
  812. bool
  813. default y
  814. depends on ROMKERNEL
  815. source "mm/Kconfig"
  816. config BFIN_GPTIMERS
  817. tristate "Enable Blackfin General Purpose Timers API"
  818. default n
  819. help
  820. Enable support for the General Purpose Timers API. If you
  821. are unsure, say N.
  822. To compile this driver as a module, choose M here: the module
  823. will be called gptimers.
  824. choice
  825. prompt "Uncached DMA region"
  826. default DMA_UNCACHED_1M
  827. config DMA_UNCACHED_32M
  828. bool "Enable 32M DMA region"
  829. config DMA_UNCACHED_16M
  830. bool "Enable 16M DMA region"
  831. config DMA_UNCACHED_8M
  832. bool "Enable 8M DMA region"
  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 || BF60x) && !SMP
  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"
  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. default y
  1181. config CPU_VOLTAGE
  1182. bool "CPU Voltage scaling"
  1183. depends on CPU_FREQ
  1184. default n
  1185. help
  1186. Say Y here if you want CPU voltage scaling according to the CPU frequency.
  1187. This option violates the PLL BYPASS recommendation in the Blackfin Processor
  1188. manuals. There is a theoretical risk that during VDDINT transitions
  1189. the PLL may unlock.
  1190. endmenu
  1191. source "net/Kconfig"
  1192. source "drivers/Kconfig"
  1193. source "drivers/firmware/Kconfig"
  1194. source "fs/Kconfig"
  1195. source "arch/blackfin/Kconfig.debug"
  1196. source "security/Kconfig"
  1197. source "crypto/Kconfig"
  1198. source "lib/Kconfig"