Kconfig 34 KB

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