Kconfig 34 KB

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