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