Kconfig 34 KB

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