Kconfig 34 KB

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