Kconfig 34 KB

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