Kconfig 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458
  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 (BF51x || BF52x || BF53x || BF538 || BF539 || BF561)
  255. config PINCTRL
  256. def_bool y
  257. depends on BF54x || BF60x
  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"
  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 source"
  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 CACHELINE_ALIGNED_L1
  718. bool "Locate cacheline_aligned data to L1 Data Memory"
  719. default y if !BF54x
  720. default n if BF54x
  721. depends on !SMP && !BF531 && !CRC32
  722. help
  723. If enabled, cacheline_aligned data is linked
  724. into L1 data memory. (less latency)
  725. config SYSCALL_TAB_L1
  726. bool "Locate Syscall Table L1 Data Memory"
  727. default n
  728. depends on !SMP && !BF531
  729. help
  730. If enabled, the Syscall LUT is linked
  731. into L1 data memory. (less latency)
  732. config CPLB_SWITCH_TAB_L1
  733. bool "Locate CPLB Switch Tables L1 Data Memory"
  734. default n
  735. depends on !SMP && !BF531
  736. help
  737. If enabled, the CPLB Switch Tables are linked
  738. into L1 data memory. (less latency)
  739. config ICACHE_FLUSH_L1
  740. bool "Locate icache flush funcs in L1 Inst Memory"
  741. default y
  742. help
  743. If enabled, the Blackfin icache flushing functions are linked
  744. into L1 instruction memory.
  745. Note that this might be required to address anomalies, but
  746. these functions are pretty small, so it shouldn't be too bad.
  747. If you are using a processor affected by an anomaly, the build
  748. system will double check for you and prevent it.
  749. config DCACHE_FLUSH_L1
  750. bool "Locate dcache flush funcs in L1 Inst Memory"
  751. default y
  752. depends on !SMP
  753. help
  754. If enabled, the Blackfin dcache flushing functions are linked
  755. into L1 instruction memory.
  756. config APP_STACK_L1
  757. bool "Support locating application stack in L1 Scratch Memory"
  758. default y
  759. depends on !SMP
  760. help
  761. If enabled the application stack can be located in L1
  762. scratch memory (less latency).
  763. Currently only works with FLAT binaries.
  764. config EXCEPTION_L1_SCRATCH
  765. bool "Locate exception stack in L1 Scratch Memory"
  766. default n
  767. depends on !SMP && !APP_STACK_L1
  768. help
  769. Whenever an exception occurs, use the L1 Scratch memory for
  770. stack storage. You cannot place the stacks of FLAT binaries
  771. in L1 when using this option.
  772. If you don't use L1 Scratch, then you should say Y here.
  773. comment "Speed Optimizations"
  774. config BFIN_INS_LOWOVERHEAD
  775. bool "ins[bwl] low overhead, higher interrupt latency"
  776. default y
  777. depends on !SMP
  778. help
  779. Reads on the Blackfin are speculative. In Blackfin terms, this means
  780. they can be interrupted at any time (even after they have been issued
  781. on to the external bus), and re-issued after the interrupt occurs.
  782. For memory - this is not a big deal, since memory does not change if
  783. it sees a read.
  784. If a FIFO is sitting on the end of the read, it will see two reads,
  785. when the core only sees one since the FIFO receives both the read
  786. which is cancelled (and not delivered to the core) and the one which
  787. is re-issued (which is delivered to the core).
  788. To solve this, interrupts are turned off before reads occur to
  789. I/O space. This option controls which the overhead/latency of
  790. controlling interrupts during this time
  791. "n" turns interrupts off every read
  792. (higher overhead, but lower interrupt latency)
  793. "y" turns interrupts off every loop
  794. (low overhead, but longer interrupt latency)
  795. default behavior is to leave this set to on (type "Y"). If you are experiencing
  796. interrupt latency issues, it is safe and OK to turn this off.
  797. endmenu
  798. choice
  799. prompt "Kernel executes from"
  800. help
  801. Choose the memory type that the kernel will be running in.
  802. config RAMKERNEL
  803. bool "RAM"
  804. help
  805. The kernel will be resident in RAM when running.
  806. config ROMKERNEL
  807. bool "ROM"
  808. help
  809. The kernel will be resident in FLASH/ROM when running.
  810. endchoice
  811. # Common code uses "ROMKERNEL" or "XIP_KERNEL", so define both
  812. config XIP_KERNEL
  813. bool
  814. default y
  815. depends on ROMKERNEL
  816. source "mm/Kconfig"
  817. config BFIN_GPTIMERS
  818. tristate "Enable Blackfin General Purpose Timers API"
  819. default n
  820. help
  821. Enable support for the General Purpose Timers API. If you
  822. are unsure, say N.
  823. To compile this driver as a module, choose M here: the module
  824. will be called gptimers.
  825. choice
  826. prompt "Uncached DMA region"
  827. default DMA_UNCACHED_1M
  828. config DMA_UNCACHED_32M
  829. bool "Enable 32M DMA region"
  830. config DMA_UNCACHED_16M
  831. bool "Enable 16M DMA region"
  832. config DMA_UNCACHED_8M
  833. bool "Enable 8M DMA region"
  834. config DMA_UNCACHED_4M
  835. bool "Enable 4M DMA region"
  836. config DMA_UNCACHED_2M
  837. bool "Enable 2M DMA region"
  838. config DMA_UNCACHED_1M
  839. bool "Enable 1M DMA region"
  840. config DMA_UNCACHED_512K
  841. bool "Enable 512K DMA region"
  842. config DMA_UNCACHED_256K
  843. bool "Enable 256K DMA region"
  844. config DMA_UNCACHED_128K
  845. bool "Enable 128K DMA region"
  846. config DMA_UNCACHED_NONE
  847. bool "Disable DMA region"
  848. endchoice
  849. comment "Cache Support"
  850. config BFIN_ICACHE
  851. bool "Enable ICACHE"
  852. default y
  853. config BFIN_EXTMEM_ICACHEABLE
  854. bool "Enable ICACHE for external memory"
  855. depends on BFIN_ICACHE
  856. default y
  857. config BFIN_L2_ICACHEABLE
  858. bool "Enable ICACHE for L2 SRAM"
  859. depends on BFIN_ICACHE
  860. depends on (BF54x || BF561 || BF60x) && !SMP
  861. default n
  862. config BFIN_DCACHE
  863. bool "Enable DCACHE"
  864. default y
  865. config BFIN_DCACHE_BANKA
  866. bool "Enable only 16k BankA DCACHE - BankB is SRAM"
  867. depends on BFIN_DCACHE && !BF531
  868. default n
  869. config BFIN_EXTMEM_DCACHEABLE
  870. bool "Enable DCACHE for external memory"
  871. depends on BFIN_DCACHE
  872. default y
  873. choice
  874. prompt "External memory DCACHE policy"
  875. depends on BFIN_EXTMEM_DCACHEABLE
  876. default BFIN_EXTMEM_WRITEBACK if !SMP
  877. default BFIN_EXTMEM_WRITETHROUGH if SMP
  878. config BFIN_EXTMEM_WRITEBACK
  879. bool "Write back"
  880. depends on !SMP
  881. help
  882. Write Back Policy:
  883. Cached data will be written back to SDRAM only when needed.
  884. This can give a nice increase in performance, but beware of
  885. broken drivers that do not properly invalidate/flush their
  886. cache.
  887. Write Through Policy:
  888. Cached data will always be written back to SDRAM when the
  889. cache is updated. This is a completely safe setting, but
  890. performance is worse than Write Back.
  891. If you are unsure of the options and you want to be safe,
  892. then go with Write Through.
  893. config BFIN_EXTMEM_WRITETHROUGH
  894. bool "Write through"
  895. help
  896. Write Back Policy:
  897. Cached data will be written back to SDRAM only when needed.
  898. This can give a nice increase in performance, but beware of
  899. broken drivers that do not properly invalidate/flush their
  900. cache.
  901. Write Through Policy:
  902. Cached data will always be written back to SDRAM when the
  903. cache is updated. This is a completely safe setting, but
  904. performance is worse than Write Back.
  905. If you are unsure of the options and you want to be safe,
  906. then go with Write Through.
  907. endchoice
  908. config BFIN_L2_DCACHEABLE
  909. bool "Enable DCACHE for L2 SRAM"
  910. depends on BFIN_DCACHE
  911. depends on (BF54x || BF561 || BF60x) && !SMP
  912. default n
  913. choice
  914. prompt "L2 SRAM DCACHE policy"
  915. depends on BFIN_L2_DCACHEABLE
  916. default BFIN_L2_WRITEBACK
  917. config BFIN_L2_WRITEBACK
  918. bool "Write back"
  919. config BFIN_L2_WRITETHROUGH
  920. bool "Write through"
  921. endchoice
  922. comment "Memory Protection Unit"
  923. config MPU
  924. bool "Enable the memory protection unit"
  925. default n
  926. help
  927. Use the processor's MPU to protect applications from accessing
  928. memory they do not own. This comes at a performance penalty
  929. and is recommended only for debugging.
  930. comment "Asynchronous Memory Configuration"
  931. menu "EBIU_AMGCTL Global Control"
  932. depends on !BF60x
  933. config C_AMCKEN
  934. bool "Enable CLKOUT"
  935. default y
  936. config C_CDPRIO
  937. bool "DMA has priority over core for ext. accesses"
  938. default n
  939. config C_B0PEN
  940. depends on BF561
  941. bool "Bank 0 16 bit packing enable"
  942. default y
  943. config C_B1PEN
  944. depends on BF561
  945. bool "Bank 1 16 bit packing enable"
  946. default y
  947. config C_B2PEN
  948. depends on BF561
  949. bool "Bank 2 16 bit packing enable"
  950. default y
  951. config C_B3PEN
  952. depends on BF561
  953. bool "Bank 3 16 bit packing enable"
  954. default n
  955. choice
  956. prompt "Enable Asynchronous Memory Banks"
  957. default C_AMBEN_ALL
  958. config C_AMBEN
  959. bool "Disable All Banks"
  960. config C_AMBEN_B0
  961. bool "Enable Bank 0"
  962. config C_AMBEN_B0_B1
  963. bool "Enable Bank 0 & 1"
  964. config C_AMBEN_B0_B1_B2
  965. bool "Enable Bank 0 & 1 & 2"
  966. config C_AMBEN_ALL
  967. bool "Enable All Banks"
  968. endchoice
  969. endmenu
  970. menu "EBIU_AMBCTL Control"
  971. depends on !BF60x
  972. config BANK_0
  973. hex "Bank 0 (AMBCTL0.L)"
  974. default 0x7BB0
  975. help
  976. These are the low 16 bits of the EBIU_AMBCTL0 MMR which are
  977. used to control the Asynchronous Memory Bank 0 settings.
  978. config BANK_1
  979. hex "Bank 1 (AMBCTL0.H)"
  980. default 0x7BB0
  981. default 0x5558 if BF54x
  982. help
  983. These are the high 16 bits of the EBIU_AMBCTL0 MMR which are
  984. used to control the Asynchronous Memory Bank 1 settings.
  985. config BANK_2
  986. hex "Bank 2 (AMBCTL1.L)"
  987. default 0x7BB0
  988. help
  989. These are the low 16 bits of the EBIU_AMBCTL1 MMR which are
  990. used to control the Asynchronous Memory Bank 2 settings.
  991. config BANK_3
  992. hex "Bank 3 (AMBCTL1.H)"
  993. default 0x99B3
  994. help
  995. These are the high 16 bits of the EBIU_AMBCTL1 MMR which are
  996. used to control the Asynchronous Memory Bank 3 settings.
  997. endmenu
  998. config EBIU_MBSCTLVAL
  999. hex "EBIU Bank Select Control Register"
  1000. depends on BF54x
  1001. default 0
  1002. config EBIU_MODEVAL
  1003. hex "Flash Memory Mode Control Register"
  1004. depends on BF54x
  1005. default 1
  1006. config EBIU_FCTLVAL
  1007. hex "Flash Memory Bank Control Register"
  1008. depends on BF54x
  1009. default 6
  1010. endmenu
  1011. #############################################################################
  1012. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  1013. config PCI
  1014. bool "PCI support"
  1015. depends on BROKEN
  1016. help
  1017. Support for PCI bus.
  1018. source "drivers/pci/Kconfig"
  1019. source "drivers/pcmcia/Kconfig"
  1020. endmenu
  1021. menu "Executable file formats"
  1022. source "fs/Kconfig.binfmt"
  1023. endmenu
  1024. menu "Power management options"
  1025. source "kernel/power/Kconfig"
  1026. config ARCH_SUSPEND_POSSIBLE
  1027. def_bool y
  1028. choice
  1029. prompt "Standby Power Saving Mode"
  1030. depends on PM && !BF60x
  1031. default PM_BFIN_SLEEP_DEEPER
  1032. config PM_BFIN_SLEEP_DEEPER
  1033. bool "Sleep Deeper"
  1034. help
  1035. Sleep "Deeper" Mode (High Power Savings) - This mode reduces dynamic
  1036. power dissipation by disabling the clock to the processor core (CCLK).
  1037. Furthermore, Standby sets the internal power supply voltage (VDDINT)
  1038. to 0.85 V to provide the greatest power savings, while preserving the
  1039. processor state.
  1040. The PLL and system clock (SCLK) continue to operate at a very low
  1041. frequency of about 3.3 MHz. To preserve data integrity in the SDRAM,
  1042. the SDRAM is put into Self Refresh Mode. Typically an external event
  1043. such as GPIO interrupt or RTC activity wakes up the processor.
  1044. Various Peripherals such as UART, SPORT, PPI may not function as
  1045. normal during Sleep Deeper, due to the reduced SCLK frequency.
  1046. When in the sleep mode, system DMA access to L1 memory is not supported.
  1047. If unsure, select "Sleep Deeper".
  1048. config PM_BFIN_SLEEP
  1049. bool "Sleep"
  1050. help
  1051. Sleep Mode (High Power Savings) - The sleep mode reduces power
  1052. dissipation by disabling the clock to the processor core (CCLK).
  1053. The PLL and system clock (SCLK), however, continue to operate in
  1054. this mode. Typically an external event or RTC activity will wake
  1055. up the processor. When in the sleep mode, system DMA access to L1
  1056. memory is not supported.
  1057. If unsure, select "Sleep Deeper".
  1058. endchoice
  1059. comment "Possible Suspend Mem / Hibernate Wake-Up Sources"
  1060. depends on PM
  1061. config PM_BFIN_WAKE_PH6
  1062. bool "Allow Wake-Up from on-chip PHY or PH6 GP"
  1063. depends on PM && (BF51x || BF52x || BF534 || BF536 || BF537)
  1064. default n
  1065. help
  1066. Enable PHY and PH6 GP Wake-Up (Voltage Regulator Power-Up)
  1067. config PM_BFIN_WAKE_GP
  1068. bool "Allow Wake-Up from GPIOs"
  1069. depends on PM && BF54x
  1070. default n
  1071. help
  1072. Enable General-Purpose Wake-Up (Voltage Regulator Power-Up)
  1073. (all processors, except ADSP-BF549). This option sets
  1074. the general-purpose wake-up enable (GPWE) control bit to enable
  1075. wake-up upon detection of an active low signal on the /GPW (PH7) pin.
  1076. On ADSP-BF549 this option enables the same functionality on the
  1077. /MRXON pin also PH7.
  1078. config PM_BFIN_WAKE_PA15
  1079. bool "Allow Wake-Up from PA15"
  1080. depends on PM && BF60x
  1081. default n
  1082. help
  1083. Enable PA15 Wake-Up
  1084. config PM_BFIN_WAKE_PA15_POL
  1085. int "Wake-up priority"
  1086. depends on PM_BFIN_WAKE_PA15
  1087. default 0
  1088. help
  1089. Wake-Up priority 0(low) 1(high)
  1090. config PM_BFIN_WAKE_PB15
  1091. bool "Allow Wake-Up from PB15"
  1092. depends on PM && BF60x
  1093. default n
  1094. help
  1095. Enable PB15 Wake-Up
  1096. config PM_BFIN_WAKE_PB15_POL
  1097. int "Wake-up priority"
  1098. depends on PM_BFIN_WAKE_PB15
  1099. default 0
  1100. help
  1101. Wake-Up priority 0(low) 1(high)
  1102. config PM_BFIN_WAKE_PC15
  1103. bool "Allow Wake-Up from PC15"
  1104. depends on PM && BF60x
  1105. default n
  1106. help
  1107. Enable PC15 Wake-Up
  1108. config PM_BFIN_WAKE_PC15_POL
  1109. int "Wake-up priority"
  1110. depends on PM_BFIN_WAKE_PC15
  1111. default 0
  1112. help
  1113. Wake-Up priority 0(low) 1(high)
  1114. config PM_BFIN_WAKE_PD06
  1115. bool "Allow Wake-Up from PD06(ETH0_PHYINT)"
  1116. depends on PM && BF60x
  1117. default n
  1118. help
  1119. Enable PD06(ETH0_PHYINT) Wake-up
  1120. config PM_BFIN_WAKE_PD06_POL
  1121. int "Wake-up priority"
  1122. depends on PM_BFIN_WAKE_PD06
  1123. default 0
  1124. help
  1125. Wake-Up priority 0(low) 1(high)
  1126. config PM_BFIN_WAKE_PE12
  1127. bool "Allow Wake-Up from PE12(ETH1_PHYINT, PUSH BUTTON)"
  1128. depends on PM && BF60x
  1129. default n
  1130. help
  1131. Enable PE12(ETH1_PHYINT, PUSH BUTTON) Wake-up
  1132. config PM_BFIN_WAKE_PE12_POL
  1133. int "Wake-up priority"
  1134. depends on PM_BFIN_WAKE_PE12
  1135. default 0
  1136. help
  1137. Wake-Up priority 0(low) 1(high)
  1138. config PM_BFIN_WAKE_PG04
  1139. bool "Allow Wake-Up from PG04(CAN0_RX)"
  1140. depends on PM && BF60x
  1141. default n
  1142. help
  1143. Enable PG04(CAN0_RX) Wake-up
  1144. config PM_BFIN_WAKE_PG04_POL
  1145. int "Wake-up priority"
  1146. depends on PM_BFIN_WAKE_PG04
  1147. default 0
  1148. help
  1149. Wake-Up priority 0(low) 1(high)
  1150. config PM_BFIN_WAKE_PG13
  1151. bool "Allow Wake-Up from PG13"
  1152. depends on PM && BF60x
  1153. default n
  1154. help
  1155. Enable PG13 Wake-Up
  1156. config PM_BFIN_WAKE_PG13_POL
  1157. int "Wake-up priority"
  1158. depends on PM_BFIN_WAKE_PG13
  1159. default 0
  1160. help
  1161. Wake-Up priority 0(low) 1(high)
  1162. config PM_BFIN_WAKE_USB
  1163. bool "Allow Wake-Up from (USB)"
  1164. depends on PM && BF60x
  1165. default n
  1166. help
  1167. Enable (USB) Wake-up
  1168. config PM_BFIN_WAKE_USB_POL
  1169. int "Wake-up priority"
  1170. depends on PM_BFIN_WAKE_USB
  1171. default 0
  1172. help
  1173. Wake-Up priority 0(low) 1(high)
  1174. endmenu
  1175. menu "CPU Frequency scaling"
  1176. source "drivers/cpufreq/Kconfig"
  1177. config BFIN_CPU_FREQ
  1178. bool
  1179. depends on CPU_FREQ
  1180. default y
  1181. config CPU_VOLTAGE
  1182. bool "CPU Voltage scaling"
  1183. depends on CPU_FREQ
  1184. default n
  1185. help
  1186. Say Y here if you want CPU voltage scaling according to the CPU frequency.
  1187. This option violates the PLL BYPASS recommendation in the Blackfin Processor
  1188. manuals. There is a theoretical risk that during VDDINT transitions
  1189. the PLL may unlock.
  1190. endmenu
  1191. source "net/Kconfig"
  1192. source "drivers/Kconfig"
  1193. source "drivers/firmware/Kconfig"
  1194. source "fs/Kconfig"
  1195. source "arch/blackfin/Kconfig.debug"
  1196. source "security/Kconfig"
  1197. source "crypto/Kconfig"
  1198. source "lib/Kconfig"