Kconfig 34 KB

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