Kconfig 34 KB

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