Kconfig 34 KB

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