Kconfig 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144
  1. config ARM
  2. bool
  3. default y
  4. select HAVE_AOUT
  5. select HAVE_DMA_API_DEBUG
  6. select HAVE_IDE
  7. select HAVE_MEMBLOCK
  8. select RTC_LIB
  9. select SYS_SUPPORTS_APM_EMULATION
  10. select GENERIC_ATOMIC64 if (CPU_V6 || !CPU_32v6K || !AEABI)
  11. select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
  12. select HAVE_ARCH_KGDB
  13. select HAVE_KPROBES if !XIP_KERNEL
  14. select HAVE_KRETPROBES if (HAVE_KPROBES)
  15. select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
  16. select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL)
  17. select HAVE_DYNAMIC_FTRACE if (!XIP_KERNEL)
  18. select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL)
  19. select HAVE_GENERIC_DMA_COHERENT
  20. select HAVE_KERNEL_GZIP
  21. select HAVE_KERNEL_LZO
  22. select HAVE_KERNEL_LZMA
  23. select HAVE_IRQ_WORK
  24. select HAVE_PERF_EVENTS
  25. select PERF_USE_VMALLOC
  26. select HAVE_REGS_AND_STACK_ACCESS_API
  27. select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7))
  28. select HAVE_C_RECORDMCOUNT
  29. select HAVE_GENERIC_HARDIRQS
  30. select HAVE_SPARSE_IRQ
  31. select GENERIC_IRQ_SHOW
  32. help
  33. The ARM series is a line of low-power-consumption RISC chip designs
  34. licensed by ARM Ltd and targeted at embedded applications and
  35. handhelds such as the Compaq IPAQ. ARM-based PCs are no longer
  36. manufactured, but legacy ARM-based PC hardware remains popular in
  37. Europe. There is an ARM Linux project with a web page at
  38. <http://www.arm.linux.org.uk/>.
  39. config ARM_HAS_SG_CHAIN
  40. bool
  41. config HAVE_PWM
  42. bool
  43. config MIGHT_HAVE_PCI
  44. bool
  45. config SYS_SUPPORTS_APM_EMULATION
  46. bool
  47. config HAVE_SCHED_CLOCK
  48. bool
  49. config GENERIC_GPIO
  50. bool
  51. config ARCH_USES_GETTIMEOFFSET
  52. bool
  53. default n
  54. config GENERIC_CLOCKEVENTS
  55. bool
  56. config GENERIC_CLOCKEVENTS_BROADCAST
  57. bool
  58. depends on GENERIC_CLOCKEVENTS
  59. default y if SMP
  60. config KTIME_SCALAR
  61. bool
  62. default y
  63. config HAVE_TCM
  64. bool
  65. select GENERIC_ALLOCATOR
  66. config HAVE_PROC_CPU
  67. bool
  68. config NO_IOPORT
  69. bool
  70. config EISA
  71. bool
  72. ---help---
  73. The Extended Industry Standard Architecture (EISA) bus was
  74. developed as an open alternative to the IBM MicroChannel bus.
  75. The EISA bus provided some of the features of the IBM MicroChannel
  76. bus while maintaining backward compatibility with cards made for
  77. the older ISA bus. The EISA bus saw limited use between 1988 and
  78. 1995 when it was made obsolete by the PCI bus.
  79. Say Y here if you are building a kernel for an EISA-based machine.
  80. Otherwise, say N.
  81. config SBUS
  82. bool
  83. config MCA
  84. bool
  85. help
  86. MicroChannel Architecture is found in some IBM PS/2 machines and
  87. laptops. It is a bus system similar to PCI or ISA. See
  88. <file:Documentation/mca.txt> (and especially the web page given
  89. there) before attempting to build an MCA bus kernel.
  90. config STACKTRACE_SUPPORT
  91. bool
  92. default y
  93. config HAVE_LATENCYTOP_SUPPORT
  94. bool
  95. depends on !SMP
  96. default y
  97. config LOCKDEP_SUPPORT
  98. bool
  99. default y
  100. config TRACE_IRQFLAGS_SUPPORT
  101. bool
  102. default y
  103. config HARDIRQS_SW_RESEND
  104. bool
  105. default y
  106. config GENERIC_IRQ_PROBE
  107. bool
  108. default y
  109. config GENERIC_LOCKBREAK
  110. bool
  111. default y
  112. depends on SMP && PREEMPT
  113. config RWSEM_GENERIC_SPINLOCK
  114. bool
  115. default y
  116. config RWSEM_XCHGADD_ALGORITHM
  117. bool
  118. config ARCH_HAS_ILOG2_U32
  119. bool
  120. config ARCH_HAS_ILOG2_U64
  121. bool
  122. config ARCH_HAS_CPUFREQ
  123. bool
  124. help
  125. Internal node to signify that the ARCH has CPUFREQ support
  126. and that the relevant menu configurations are displayed for
  127. it.
  128. config ARCH_HAS_CPU_IDLE_WAIT
  129. def_bool y
  130. config GENERIC_HWEIGHT
  131. bool
  132. default y
  133. config GENERIC_CALIBRATE_DELAY
  134. bool
  135. default y
  136. config ARCH_MAY_HAVE_PC_FDC
  137. bool
  138. config ZONE_DMA
  139. bool
  140. config NEED_DMA_MAP_STATE
  141. def_bool y
  142. config GENERIC_ISA_DMA
  143. bool
  144. config FIQ
  145. bool
  146. config ARCH_MTD_XIP
  147. bool
  148. config VECTORS_BASE
  149. hex
  150. default 0xffff0000 if MMU || CPU_HIGH_VECTOR
  151. default DRAM_BASE if REMAP_VECTORS_TO_RAM
  152. default 0x00000000
  153. help
  154. The base address of exception vectors.
  155. config ARM_PATCH_PHYS_VIRT
  156. bool "Patch physical to virtual translations at runtime" if EMBEDDED
  157. default y
  158. depends on !XIP_KERNEL && MMU
  159. depends on !ARCH_REALVIEW || !SPARSEMEM
  160. help
  161. Patch phys-to-virt and virt-to-phys translation functions at
  162. boot and module load time according to the position of the
  163. kernel in system memory.
  164. This can only be used with non-XIP MMU kernels where the base
  165. of physical memory is at a 16MB boundary.
  166. Only disable this option if you know that you do not require
  167. this feature (eg, building a kernel for a single machine) and
  168. you need to shrink the kernel to the minimal size.
  169. config NEED_MACH_MEMORY_H
  170. bool
  171. help
  172. Select this when mach/memory.h is required to provide special
  173. definitions for this platform. The need for mach/memory.h should
  174. be avoided when possible.
  175. config PHYS_OFFSET
  176. hex "Physical address of main memory"
  177. depends on !ARM_PATCH_PHYS_VIRT && !NEED_MACH_MEMORY_H
  178. help
  179. Please provide the physical address corresponding to the
  180. location of main memory in your system.
  181. source "init/Kconfig"
  182. source "kernel/Kconfig.freezer"
  183. menu "System Type"
  184. config MMU
  185. bool "MMU-based Paged Memory Management Support"
  186. default y
  187. help
  188. Select if you want MMU-based virtualised addressing space
  189. support by paged memory management. If unsure, say 'Y'.
  190. #
  191. # The "ARM system type" choice list is ordered alphabetically by option
  192. # text. Please add new entries in the option alphabetic order.
  193. #
  194. choice
  195. prompt "ARM system type"
  196. default ARCH_VERSATILE
  197. config ARCH_INTEGRATOR
  198. bool "ARM Ltd. Integrator family"
  199. select ARM_AMBA
  200. select ARCH_HAS_CPUFREQ
  201. select CLKDEV_LOOKUP
  202. select HAVE_MACH_CLKDEV
  203. select ICST
  204. select GENERIC_CLOCKEVENTS
  205. select PLAT_VERSATILE
  206. select PLAT_VERSATILE_FPGA_IRQ
  207. select NEED_MACH_MEMORY_H
  208. help
  209. Support for ARM's Integrator platform.
  210. config ARCH_REALVIEW
  211. bool "ARM Ltd. RealView family"
  212. select ARM_AMBA
  213. select CLKDEV_LOOKUP
  214. select HAVE_MACH_CLKDEV
  215. select ICST
  216. select GENERIC_CLOCKEVENTS
  217. select ARCH_WANT_OPTIONAL_GPIOLIB
  218. select PLAT_VERSATILE
  219. select PLAT_VERSATILE_CLCD
  220. select ARM_TIMER_SP804
  221. select GPIO_PL061 if GPIOLIB
  222. select NEED_MACH_MEMORY_H
  223. help
  224. This enables support for ARM Ltd RealView boards.
  225. config ARCH_VERSATILE
  226. bool "ARM Ltd. Versatile family"
  227. select ARM_AMBA
  228. select ARM_VIC
  229. select CLKDEV_LOOKUP
  230. select HAVE_MACH_CLKDEV
  231. select ICST
  232. select GENERIC_CLOCKEVENTS
  233. select ARCH_WANT_OPTIONAL_GPIOLIB
  234. select PLAT_VERSATILE
  235. select PLAT_VERSATILE_CLCD
  236. select PLAT_VERSATILE_FPGA_IRQ
  237. select ARM_TIMER_SP804
  238. help
  239. This enables support for ARM Ltd Versatile board.
  240. config ARCH_VEXPRESS
  241. bool "ARM Ltd. Versatile Express family"
  242. select ARCH_WANT_OPTIONAL_GPIOLIB
  243. select ARM_AMBA
  244. select ARM_TIMER_SP804
  245. select CLKDEV_LOOKUP
  246. select HAVE_MACH_CLKDEV
  247. select GENERIC_CLOCKEVENTS
  248. select HAVE_CLK
  249. select HAVE_PATA_PLATFORM
  250. select ICST
  251. select PLAT_VERSATILE
  252. select PLAT_VERSATILE_CLCD
  253. help
  254. This enables support for the ARM Ltd Versatile Express boards.
  255. config ARCH_AT91
  256. bool "Atmel AT91"
  257. select ARCH_REQUIRE_GPIOLIB
  258. select HAVE_CLK
  259. select CLKDEV_LOOKUP
  260. help
  261. This enables support for systems based on the Atmel AT91RM9200,
  262. AT91SAM9 and AT91CAP9 processors.
  263. config ARCH_BCMRING
  264. bool "Broadcom BCMRING"
  265. depends on MMU
  266. select CPU_V6
  267. select ARM_AMBA
  268. select ARM_TIMER_SP804
  269. select CLKDEV_LOOKUP
  270. select GENERIC_CLOCKEVENTS
  271. select ARCH_WANT_OPTIONAL_GPIOLIB
  272. help
  273. Support for Broadcom's BCMRing platform.
  274. config ARCH_CLPS711X
  275. bool "Cirrus Logic CLPS711x/EP721x-based"
  276. select CPU_ARM720T
  277. select ARCH_USES_GETTIMEOFFSET
  278. select NEED_MACH_MEMORY_H
  279. help
  280. Support for Cirrus Logic 711x/721x based boards.
  281. config ARCH_CNS3XXX
  282. bool "Cavium Networks CNS3XXX family"
  283. select CPU_V6K
  284. select GENERIC_CLOCKEVENTS
  285. select ARM_GIC
  286. select MIGHT_HAVE_PCI
  287. select PCI_DOMAINS if PCI
  288. help
  289. Support for Cavium Networks CNS3XXX platform.
  290. config ARCH_GEMINI
  291. bool "Cortina Systems Gemini"
  292. select CPU_FA526
  293. select ARCH_REQUIRE_GPIOLIB
  294. select ARCH_USES_GETTIMEOFFSET
  295. help
  296. Support for the Cortina Systems Gemini family SoCs
  297. config ARCH_PRIMA2
  298. bool "CSR SiRFSoC PRIMA2 ARM Cortex A9 Platform"
  299. select CPU_V7
  300. select GENERIC_TIME
  301. select NO_IOPORT
  302. select GENERIC_CLOCKEVENTS
  303. select CLKDEV_LOOKUP
  304. select GENERIC_IRQ_CHIP
  305. select USE_OF
  306. select ZONE_DMA
  307. help
  308. Support for CSR SiRFSoC ARM Cortex A9 Platform
  309. config ARCH_EBSA110
  310. bool "EBSA-110"
  311. select CPU_SA110
  312. select ISA
  313. select NO_IOPORT
  314. select ARCH_USES_GETTIMEOFFSET
  315. select NEED_MACH_MEMORY_H
  316. help
  317. This is an evaluation board for the StrongARM processor available
  318. from Digital. It has limited hardware on-board, including an
  319. Ethernet interface, two PCMCIA sockets, two serial ports and a
  320. parallel port.
  321. config ARCH_EP93XX
  322. bool "EP93xx-based"
  323. select CPU_ARM920T
  324. select ARM_AMBA
  325. select ARM_VIC
  326. select CLKDEV_LOOKUP
  327. select ARCH_REQUIRE_GPIOLIB
  328. select ARCH_HAS_HOLES_MEMORYMODEL
  329. select ARCH_USES_GETTIMEOFFSET
  330. select NEED_MEMORY_H
  331. help
  332. This enables support for the Cirrus EP93xx series of CPUs.
  333. config ARCH_FOOTBRIDGE
  334. bool "FootBridge"
  335. select CPU_SA110
  336. select FOOTBRIDGE
  337. select GENERIC_CLOCKEVENTS
  338. select NEED_MACH_MEMORY_H
  339. help
  340. Support for systems based on the DC21285 companion chip
  341. ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
  342. config ARCH_MXC
  343. bool "Freescale MXC/iMX-based"
  344. select GENERIC_CLOCKEVENTS
  345. select ARCH_REQUIRE_GPIOLIB
  346. select CLKDEV_LOOKUP
  347. select CLKSRC_MMIO
  348. select GENERIC_IRQ_CHIP
  349. select HAVE_SCHED_CLOCK
  350. help
  351. Support for Freescale MXC/iMX-based family of processors
  352. config ARCH_MXS
  353. bool "Freescale MXS-based"
  354. select GENERIC_CLOCKEVENTS
  355. select ARCH_REQUIRE_GPIOLIB
  356. select CLKDEV_LOOKUP
  357. select CLKSRC_MMIO
  358. help
  359. Support for Freescale MXS-based family of processors
  360. config ARCH_NETX
  361. bool "Hilscher NetX based"
  362. select CLKSRC_MMIO
  363. select CPU_ARM926T
  364. select ARM_VIC
  365. select GENERIC_CLOCKEVENTS
  366. help
  367. This enables support for systems based on the Hilscher NetX Soc
  368. config ARCH_H720X
  369. bool "Hynix HMS720x-based"
  370. select CPU_ARM720T
  371. select ISA_DMA_API
  372. select ARCH_USES_GETTIMEOFFSET
  373. help
  374. This enables support for systems based on the Hynix HMS720x
  375. config ARCH_IOP13XX
  376. bool "IOP13xx-based"
  377. depends on MMU
  378. select CPU_XSC3
  379. select PLAT_IOP
  380. select PCI
  381. select ARCH_SUPPORTS_MSI
  382. select VMSPLIT_1G
  383. select NEED_MACH_MEMORY_H
  384. help
  385. Support for Intel's IOP13XX (XScale) family of processors.
  386. config ARCH_IOP32X
  387. bool "IOP32x-based"
  388. depends on MMU
  389. select CPU_XSCALE
  390. select PLAT_IOP
  391. select PCI
  392. select ARCH_REQUIRE_GPIOLIB
  393. help
  394. Support for Intel's 80219 and IOP32X (XScale) family of
  395. processors.
  396. config ARCH_IOP33X
  397. bool "IOP33x-based"
  398. depends on MMU
  399. select CPU_XSCALE
  400. select PLAT_IOP
  401. select PCI
  402. select ARCH_REQUIRE_GPIOLIB
  403. help
  404. Support for Intel's IOP33X (XScale) family of processors.
  405. config ARCH_IXP23XX
  406. bool "IXP23XX-based"
  407. depends on MMU
  408. select CPU_XSC3
  409. select PCI
  410. select ARCH_USES_GETTIMEOFFSET
  411. select NEED_MACH_MEMORY_H
  412. help
  413. Support for Intel's IXP23xx (XScale) family of processors.
  414. config ARCH_IXP2000
  415. bool "IXP2400/2800-based"
  416. depends on MMU
  417. select CPU_XSCALE
  418. select PCI
  419. select ARCH_USES_GETTIMEOFFSET
  420. select NEED_MACH_MEMORY_H
  421. help
  422. Support for Intel's IXP2400/2800 (XScale) family of processors.
  423. config ARCH_IXP4XX
  424. bool "IXP4xx-based"
  425. depends on MMU
  426. select CLKSRC_MMIO
  427. select CPU_XSCALE
  428. select GENERIC_GPIO
  429. select GENERIC_CLOCKEVENTS
  430. select HAVE_SCHED_CLOCK
  431. select MIGHT_HAVE_PCI
  432. select DMABOUNCE if PCI
  433. help
  434. Support for Intel's IXP4XX (XScale) family of processors.
  435. config ARCH_DOVE
  436. bool "Marvell Dove"
  437. select CPU_V7
  438. select PCI
  439. select ARCH_REQUIRE_GPIOLIB
  440. select GENERIC_CLOCKEVENTS
  441. select PLAT_ORION
  442. help
  443. Support for the Marvell Dove SoC 88AP510
  444. config ARCH_KIRKWOOD
  445. bool "Marvell Kirkwood"
  446. select CPU_FEROCEON
  447. select PCI
  448. select ARCH_REQUIRE_GPIOLIB
  449. select GENERIC_CLOCKEVENTS
  450. select PLAT_ORION
  451. help
  452. Support for the following Marvell Kirkwood series SoCs:
  453. 88F6180, 88F6192 and 88F6281.
  454. config ARCH_LPC32XX
  455. bool "NXP LPC32XX"
  456. select CLKSRC_MMIO
  457. select CPU_ARM926T
  458. select ARCH_REQUIRE_GPIOLIB
  459. select HAVE_IDE
  460. select ARM_AMBA
  461. select USB_ARCH_HAS_OHCI
  462. select CLKDEV_LOOKUP
  463. select GENERIC_TIME
  464. select GENERIC_CLOCKEVENTS
  465. help
  466. Support for the NXP LPC32XX family of processors
  467. config ARCH_MV78XX0
  468. bool "Marvell MV78xx0"
  469. select CPU_FEROCEON
  470. select PCI
  471. select ARCH_REQUIRE_GPIOLIB
  472. select GENERIC_CLOCKEVENTS
  473. select PLAT_ORION
  474. help
  475. Support for the following Marvell MV78xx0 series SoCs:
  476. MV781x0, MV782x0.
  477. config ARCH_ORION5X
  478. bool "Marvell Orion"
  479. depends on MMU
  480. select CPU_FEROCEON
  481. select PCI
  482. select ARCH_REQUIRE_GPIOLIB
  483. select GENERIC_CLOCKEVENTS
  484. select PLAT_ORION
  485. help
  486. Support for the following Marvell Orion 5x series SoCs:
  487. Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
  488. Orion-2 (5281), Orion-1-90 (6183).
  489. config ARCH_MMP
  490. bool "Marvell PXA168/910/MMP2"
  491. depends on MMU
  492. select ARCH_REQUIRE_GPIOLIB
  493. select CLKDEV_LOOKUP
  494. select GENERIC_CLOCKEVENTS
  495. select HAVE_SCHED_CLOCK
  496. select TICK_ONESHOT
  497. select PLAT_PXA
  498. select SPARSE_IRQ
  499. help
  500. Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
  501. config ARCH_KS8695
  502. bool "Micrel/Kendin KS8695"
  503. select CPU_ARM922T
  504. select ARCH_REQUIRE_GPIOLIB
  505. select ARCH_USES_GETTIMEOFFSET
  506. select NEED_MACH_MEMORY_H
  507. help
  508. Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
  509. System-on-Chip devices.
  510. config ARCH_W90X900
  511. bool "Nuvoton W90X900 CPU"
  512. select CPU_ARM926T
  513. select ARCH_REQUIRE_GPIOLIB
  514. select CLKDEV_LOOKUP
  515. select CLKSRC_MMIO
  516. select GENERIC_CLOCKEVENTS
  517. help
  518. Support for Nuvoton (Winbond logic dept.) ARM9 processor,
  519. At present, the w90x900 has been renamed nuc900, regarding
  520. the ARM series product line, you can login the following
  521. link address to know more.
  522. <http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/
  523. ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller>
  524. config ARCH_NUC93X
  525. bool "Nuvoton NUC93X CPU"
  526. select CPU_ARM926T
  527. select CLKDEV_LOOKUP
  528. help
  529. Support for Nuvoton (Winbond logic dept.) NUC93X MCU,The NUC93X is a
  530. low-power and high performance MPEG-4/JPEG multimedia controller chip.
  531. config ARCH_TEGRA
  532. bool "NVIDIA Tegra"
  533. select CLKDEV_LOOKUP
  534. select CLKSRC_MMIO
  535. select GENERIC_TIME
  536. select GENERIC_CLOCKEVENTS
  537. select GENERIC_GPIO
  538. select HAVE_CLK
  539. select HAVE_SCHED_CLOCK
  540. select ARCH_HAS_CPUFREQ
  541. help
  542. This enables support for NVIDIA Tegra based systems (Tegra APX,
  543. Tegra 6xx and Tegra 2 series).
  544. config ARCH_PNX4008
  545. bool "Philips Nexperia PNX4008 Mobile"
  546. select CPU_ARM926T
  547. select CLKDEV_LOOKUP
  548. select ARCH_USES_GETTIMEOFFSET
  549. help
  550. This enables support for Philips PNX4008 mobile platform.
  551. config ARCH_PXA
  552. bool "PXA2xx/PXA3xx-based"
  553. depends on MMU
  554. select ARCH_MTD_XIP
  555. select ARCH_HAS_CPUFREQ
  556. select CLKDEV_LOOKUP
  557. select CLKSRC_MMIO
  558. select ARCH_REQUIRE_GPIOLIB
  559. select GENERIC_CLOCKEVENTS
  560. select HAVE_SCHED_CLOCK
  561. select TICK_ONESHOT
  562. select PLAT_PXA
  563. select SPARSE_IRQ
  564. select AUTO_ZRELADDR
  565. select MULTI_IRQ_HANDLER
  566. help
  567. Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
  568. config ARCH_MSM
  569. bool "Qualcomm MSM"
  570. select HAVE_CLK
  571. select GENERIC_CLOCKEVENTS
  572. select ARCH_REQUIRE_GPIOLIB
  573. select CLKDEV_LOOKUP
  574. help
  575. Support for Qualcomm MSM/QSD based systems. This runs on the
  576. apps processor of the MSM/QSD and depends on a shared memory
  577. interface to the modem processor which runs the baseband
  578. stack and controls some vital subsystems
  579. (clock and power control, etc).
  580. config ARCH_SHMOBILE
  581. bool "Renesas SH-Mobile / R-Mobile"
  582. select HAVE_CLK
  583. select CLKDEV_LOOKUP
  584. select HAVE_MACH_CLKDEV
  585. select GENERIC_CLOCKEVENTS
  586. select NO_IOPORT
  587. select SPARSE_IRQ
  588. select MULTI_IRQ_HANDLER
  589. select PM_GENERIC_DOMAINS if PM
  590. select NEED_MACH_MEMORY_H
  591. help
  592. Support for Renesas's SH-Mobile and R-Mobile ARM platforms.
  593. config ARCH_RPC
  594. bool "RiscPC"
  595. select ARCH_ACORN
  596. select FIQ
  597. select TIMER_ACORN
  598. select ARCH_MAY_HAVE_PC_FDC
  599. select HAVE_PATA_PLATFORM
  600. select ISA_DMA_API
  601. select NO_IOPORT
  602. select ARCH_SPARSEMEM_ENABLE
  603. select ARCH_USES_GETTIMEOFFSET
  604. select NEED_MACH_MEMORY_H
  605. help
  606. On the Acorn Risc-PC, Linux can support the internal IDE disk and
  607. CD-ROM interface, serial and parallel port, and the floppy drive.
  608. config ARCH_SA1100
  609. bool "SA1100-based"
  610. select CLKSRC_MMIO
  611. select CPU_SA1100
  612. select ISA
  613. select ARCH_SPARSEMEM_ENABLE
  614. select ARCH_MTD_XIP
  615. select ARCH_HAS_CPUFREQ
  616. select CPU_FREQ
  617. select GENERIC_CLOCKEVENTS
  618. select HAVE_CLK
  619. select HAVE_SCHED_CLOCK
  620. select TICK_ONESHOT
  621. select ARCH_REQUIRE_GPIOLIB
  622. select NEED_MACH_MEMORY_H
  623. help
  624. Support for StrongARM 11x0 based boards.
  625. config ARCH_S3C2410
  626. bool "Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, S3C2450"
  627. select GENERIC_GPIO
  628. select ARCH_HAS_CPUFREQ
  629. select HAVE_CLK
  630. select CLKDEV_LOOKUP
  631. select ARCH_USES_GETTIMEOFFSET
  632. select HAVE_S3C2410_I2C if I2C
  633. help
  634. Samsung S3C2410X CPU based systems, such as the Simtec Electronics
  635. BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
  636. the Samsung SMDK2410 development board (and derivatives).
  637. Note, the S3C2416 and the S3C2450 are so close that they even share
  638. the same SoC ID code. This means that there is no separate machine
  639. directory (no arch/arm/mach-s3c2450) as the S3C2416 was first.
  640. config ARCH_S3C64XX
  641. bool "Samsung S3C64XX"
  642. select PLAT_SAMSUNG
  643. select CPU_V6
  644. select ARM_VIC
  645. select HAVE_CLK
  646. select CLKDEV_LOOKUP
  647. select NO_IOPORT
  648. select ARCH_USES_GETTIMEOFFSET
  649. select ARCH_HAS_CPUFREQ
  650. select ARCH_REQUIRE_GPIOLIB
  651. select SAMSUNG_CLKSRC
  652. select SAMSUNG_IRQ_VIC_TIMER
  653. select SAMSUNG_IRQ_UART
  654. select S3C_GPIO_TRACK
  655. select S3C_GPIO_PULL_UPDOWN
  656. select S3C_GPIO_CFG_S3C24XX
  657. select S3C_GPIO_CFG_S3C64XX
  658. select S3C_DEV_NAND
  659. select USB_ARCH_HAS_OHCI
  660. select SAMSUNG_GPIOLIB_4BIT
  661. select HAVE_S3C2410_I2C if I2C
  662. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  663. help
  664. Samsung S3C64XX series based systems
  665. config ARCH_S5P64X0
  666. bool "Samsung S5P6440 S5P6450"
  667. select CPU_V6
  668. select GENERIC_GPIO
  669. select HAVE_CLK
  670. select CLKDEV_LOOKUP
  671. select CLKSRC_MMIO
  672. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  673. select GENERIC_CLOCKEVENTS
  674. select HAVE_SCHED_CLOCK
  675. select HAVE_S3C2410_I2C if I2C
  676. select HAVE_S3C_RTC if RTC_CLASS
  677. help
  678. Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
  679. SMDK6450.
  680. config ARCH_S5PC100
  681. bool "Samsung S5PC100"
  682. select GENERIC_GPIO
  683. select HAVE_CLK
  684. select CLKDEV_LOOKUP
  685. select CPU_V7
  686. select ARM_L1_CACHE_SHIFT_6
  687. select ARCH_USES_GETTIMEOFFSET
  688. select HAVE_S3C2410_I2C if I2C
  689. select HAVE_S3C_RTC if RTC_CLASS
  690. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  691. help
  692. Samsung S5PC100 series based systems
  693. config ARCH_S5PV210
  694. bool "Samsung S5PV210/S5PC110"
  695. select CPU_V7
  696. select ARCH_SPARSEMEM_ENABLE
  697. select ARCH_HAS_HOLES_MEMORYMODEL
  698. select GENERIC_GPIO
  699. select HAVE_CLK
  700. select CLKDEV_LOOKUP
  701. select CLKSRC_MMIO
  702. select ARM_L1_CACHE_SHIFT_6
  703. select ARCH_HAS_CPUFREQ
  704. select GENERIC_CLOCKEVENTS
  705. select HAVE_SCHED_CLOCK
  706. select HAVE_S3C2410_I2C if I2C
  707. select HAVE_S3C_RTC if RTC_CLASS
  708. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  709. select NEED_MACH_MEMORY_H
  710. help
  711. Samsung S5PV210/S5PC110 series based systems
  712. config ARCH_EXYNOS4
  713. bool "Samsung EXYNOS4"
  714. select CPU_V7
  715. select ARCH_SPARSEMEM_ENABLE
  716. select ARCH_HAS_HOLES_MEMORYMODEL
  717. select GENERIC_GPIO
  718. select HAVE_CLK
  719. select CLKDEV_LOOKUP
  720. select ARCH_HAS_CPUFREQ
  721. select GENERIC_CLOCKEVENTS
  722. select HAVE_S3C_RTC if RTC_CLASS
  723. select HAVE_S3C2410_I2C if I2C
  724. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  725. select NEED_MACH_MEMORY_H
  726. help
  727. Samsung EXYNOS4 series based systems
  728. config ARCH_SHARK
  729. bool "Shark"
  730. select CPU_SA110
  731. select ISA
  732. select ISA_DMA
  733. select ZONE_DMA
  734. select PCI
  735. select ARCH_USES_GETTIMEOFFSET
  736. select NEED_MACH_MEMORY_H
  737. help
  738. Support for the StrongARM based Digital DNARD machine, also known
  739. as "Shark" (<http://www.shark-linux.de/shark.html>).
  740. config ARCH_TCC_926
  741. bool "Telechips TCC ARM926-based systems"
  742. select CLKSRC_MMIO
  743. select CPU_ARM926T
  744. select HAVE_CLK
  745. select CLKDEV_LOOKUP
  746. select GENERIC_CLOCKEVENTS
  747. help
  748. Support for Telechips TCC ARM926-based systems.
  749. config ARCH_U300
  750. bool "ST-Ericsson U300 Series"
  751. depends on MMU
  752. select CLKSRC_MMIO
  753. select CPU_ARM926T
  754. select HAVE_SCHED_CLOCK
  755. select HAVE_TCM
  756. select ARM_AMBA
  757. select ARM_VIC
  758. select GENERIC_CLOCKEVENTS
  759. select CLKDEV_LOOKUP
  760. select HAVE_MACH_CLKDEV
  761. select GENERIC_GPIO
  762. select NEED_MACH_MEMORY_H
  763. help
  764. Support for ST-Ericsson U300 series mobile platforms.
  765. config ARCH_U8500
  766. bool "ST-Ericsson U8500 Series"
  767. select CPU_V7
  768. select ARM_AMBA
  769. select GENERIC_CLOCKEVENTS
  770. select CLKDEV_LOOKUP
  771. select ARCH_REQUIRE_GPIOLIB
  772. select ARCH_HAS_CPUFREQ
  773. help
  774. Support for ST-Ericsson's Ux500 architecture
  775. config ARCH_NOMADIK
  776. bool "STMicroelectronics Nomadik"
  777. select ARM_AMBA
  778. select ARM_VIC
  779. select CPU_ARM926T
  780. select CLKDEV_LOOKUP
  781. select GENERIC_CLOCKEVENTS
  782. select ARCH_REQUIRE_GPIOLIB
  783. help
  784. Support for the Nomadik platform by ST-Ericsson
  785. config ARCH_DAVINCI
  786. bool "TI DaVinci"
  787. select GENERIC_CLOCKEVENTS
  788. select ARCH_REQUIRE_GPIOLIB
  789. select ZONE_DMA
  790. select HAVE_IDE
  791. select CLKDEV_LOOKUP
  792. select GENERIC_ALLOCATOR
  793. select GENERIC_IRQ_CHIP
  794. select ARCH_HAS_HOLES_MEMORYMODEL
  795. help
  796. Support for TI's DaVinci platform.
  797. config ARCH_OMAP
  798. bool "TI OMAP"
  799. select HAVE_CLK
  800. select ARCH_REQUIRE_GPIOLIB
  801. select ARCH_HAS_CPUFREQ
  802. select CLKSRC_MMIO
  803. select GENERIC_CLOCKEVENTS
  804. select HAVE_SCHED_CLOCK
  805. select ARCH_HAS_HOLES_MEMORYMODEL
  806. help
  807. Support for TI's OMAP platform (OMAP1/2/3/4).
  808. config PLAT_SPEAR
  809. bool "ST SPEAr"
  810. select ARM_AMBA
  811. select ARCH_REQUIRE_GPIOLIB
  812. select CLKDEV_LOOKUP
  813. select CLKSRC_MMIO
  814. select GENERIC_CLOCKEVENTS
  815. select HAVE_CLK
  816. help
  817. Support for ST's SPEAr platform (SPEAr3xx, SPEAr6xx and SPEAr13xx).
  818. config ARCH_VT8500
  819. bool "VIA/WonderMedia 85xx"
  820. select CPU_ARM926T
  821. select GENERIC_GPIO
  822. select ARCH_HAS_CPUFREQ
  823. select GENERIC_CLOCKEVENTS
  824. select ARCH_REQUIRE_GPIOLIB
  825. select HAVE_PWM
  826. help
  827. Support for VIA/WonderMedia VT8500/WM85xx System-on-Chip.
  828. config ARCH_ZYNQ
  829. bool "Xilinx Zynq ARM Cortex A9 Platform"
  830. select CPU_V7
  831. select GENERIC_TIME
  832. select GENERIC_CLOCKEVENTS
  833. select CLKDEV_LOOKUP
  834. select ARM_GIC
  835. select ARM_AMBA
  836. select ICST
  837. select USE_OF
  838. help
  839. Support for Xilinx Zynq ARM Cortex A9 Platform
  840. endchoice
  841. #
  842. # This is sorted alphabetically by mach-* pathname. However, plat-*
  843. # Kconfigs may be included either alphabetically (according to the
  844. # plat- suffix) or along side the corresponding mach-* source.
  845. #
  846. source "arch/arm/mach-at91/Kconfig"
  847. source "arch/arm/mach-bcmring/Kconfig"
  848. source "arch/arm/mach-clps711x/Kconfig"
  849. source "arch/arm/mach-cns3xxx/Kconfig"
  850. source "arch/arm/mach-davinci/Kconfig"
  851. source "arch/arm/mach-dove/Kconfig"
  852. source "arch/arm/mach-ep93xx/Kconfig"
  853. source "arch/arm/mach-footbridge/Kconfig"
  854. source "arch/arm/mach-gemini/Kconfig"
  855. source "arch/arm/mach-h720x/Kconfig"
  856. source "arch/arm/mach-integrator/Kconfig"
  857. source "arch/arm/mach-iop32x/Kconfig"
  858. source "arch/arm/mach-iop33x/Kconfig"
  859. source "arch/arm/mach-iop13xx/Kconfig"
  860. source "arch/arm/mach-ixp4xx/Kconfig"
  861. source "arch/arm/mach-ixp2000/Kconfig"
  862. source "arch/arm/mach-ixp23xx/Kconfig"
  863. source "arch/arm/mach-kirkwood/Kconfig"
  864. source "arch/arm/mach-ks8695/Kconfig"
  865. source "arch/arm/mach-lpc32xx/Kconfig"
  866. source "arch/arm/mach-msm/Kconfig"
  867. source "arch/arm/mach-mv78xx0/Kconfig"
  868. source "arch/arm/plat-mxc/Kconfig"
  869. source "arch/arm/mach-mxs/Kconfig"
  870. source "arch/arm/mach-netx/Kconfig"
  871. source "arch/arm/mach-nomadik/Kconfig"
  872. source "arch/arm/plat-nomadik/Kconfig"
  873. source "arch/arm/mach-nuc93x/Kconfig"
  874. source "arch/arm/plat-omap/Kconfig"
  875. source "arch/arm/mach-omap1/Kconfig"
  876. source "arch/arm/mach-omap2/Kconfig"
  877. source "arch/arm/mach-orion5x/Kconfig"
  878. source "arch/arm/mach-pxa/Kconfig"
  879. source "arch/arm/plat-pxa/Kconfig"
  880. source "arch/arm/mach-mmp/Kconfig"
  881. source "arch/arm/mach-realview/Kconfig"
  882. source "arch/arm/mach-sa1100/Kconfig"
  883. source "arch/arm/plat-samsung/Kconfig"
  884. source "arch/arm/plat-s3c24xx/Kconfig"
  885. source "arch/arm/plat-s5p/Kconfig"
  886. source "arch/arm/plat-spear/Kconfig"
  887. source "arch/arm/plat-tcc/Kconfig"
  888. if ARCH_S3C2410
  889. source "arch/arm/mach-s3c2410/Kconfig"
  890. source "arch/arm/mach-s3c2412/Kconfig"
  891. source "arch/arm/mach-s3c2416/Kconfig"
  892. source "arch/arm/mach-s3c2440/Kconfig"
  893. source "arch/arm/mach-s3c2443/Kconfig"
  894. endif
  895. if ARCH_S3C64XX
  896. source "arch/arm/mach-s3c64xx/Kconfig"
  897. endif
  898. source "arch/arm/mach-s5p64x0/Kconfig"
  899. source "arch/arm/mach-s5pc100/Kconfig"
  900. source "arch/arm/mach-s5pv210/Kconfig"
  901. source "arch/arm/mach-exynos4/Kconfig"
  902. source "arch/arm/mach-shmobile/Kconfig"
  903. source "arch/arm/mach-tegra/Kconfig"
  904. source "arch/arm/mach-u300/Kconfig"
  905. source "arch/arm/mach-ux500/Kconfig"
  906. source "arch/arm/mach-versatile/Kconfig"
  907. source "arch/arm/mach-vexpress/Kconfig"
  908. source "arch/arm/plat-versatile/Kconfig"
  909. source "arch/arm/mach-vt8500/Kconfig"
  910. source "arch/arm/mach-w90x900/Kconfig"
  911. # Definitions to make life easier
  912. config ARCH_ACORN
  913. bool
  914. config PLAT_IOP
  915. bool
  916. select GENERIC_CLOCKEVENTS
  917. select HAVE_SCHED_CLOCK
  918. config PLAT_ORION
  919. bool
  920. select CLKSRC_MMIO
  921. select GENERIC_IRQ_CHIP
  922. select HAVE_SCHED_CLOCK
  923. config PLAT_PXA
  924. bool
  925. config PLAT_VERSATILE
  926. bool
  927. config ARM_TIMER_SP804
  928. bool
  929. select CLKSRC_MMIO
  930. source arch/arm/mm/Kconfig
  931. config IWMMXT
  932. bool "Enable iWMMXt support"
  933. depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4
  934. default y if PXA27x || PXA3xx || PXA95x || ARCH_MMP
  935. help
  936. Enable support for iWMMXt context switching at run time if
  937. running on a CPU that supports it.
  938. # bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
  939. config XSCALE_PMU
  940. bool
  941. depends on CPU_XSCALE && !XSCALE_PMU_TIMER
  942. default y
  943. config CPU_HAS_PMU
  944. depends on (CPU_V6 || CPU_V6K || CPU_V7 || XSCALE_PMU) && \
  945. (!ARCH_OMAP3 || OMAP3_EMU)
  946. default y
  947. bool
  948. config MULTI_IRQ_HANDLER
  949. bool
  950. help
  951. Allow each machine to specify it's own IRQ handler at run time.
  952. if !MMU
  953. source "arch/arm/Kconfig-nommu"
  954. endif
  955. config ARM_ERRATA_411920
  956. bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
  957. depends on CPU_V6 || CPU_V6K
  958. help
  959. Invalidation of the Instruction Cache operation can
  960. fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
  961. It does not affect the MPCore. This option enables the ARM Ltd.
  962. recommended workaround.
  963. config ARM_ERRATA_430973
  964. bool "ARM errata: Stale prediction on replaced interworking branch"
  965. depends on CPU_V7
  966. help
  967. This option enables the workaround for the 430973 Cortex-A8
  968. (r1p0..r1p2) erratum. If a code sequence containing an ARM/Thumb
  969. interworking branch is replaced with another code sequence at the
  970. same virtual address, whether due to self-modifying code or virtual
  971. to physical address re-mapping, Cortex-A8 does not recover from the
  972. stale interworking branch prediction. This results in Cortex-A8
  973. executing the new code sequence in the incorrect ARM or Thumb state.
  974. The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
  975. and also flushes the branch target cache at every context switch.
  976. Note that setting specific bits in the ACTLR register may not be
  977. available in non-secure mode.
  978. config ARM_ERRATA_458693
  979. bool "ARM errata: Processor deadlock when a false hazard is created"
  980. depends on CPU_V7
  981. help
  982. This option enables the workaround for the 458693 Cortex-A8 (r2p0)
  983. erratum. For very specific sequences of memory operations, it is
  984. possible for a hazard condition intended for a cache line to instead
  985. be incorrectly associated with a different cache line. This false
  986. hazard might then cause a processor deadlock. The workaround enables
  987. the L1 caching of the NEON accesses and disables the PLD instruction
  988. in the ACTLR register. Note that setting specific bits in the ACTLR
  989. register may not be available in non-secure mode.
  990. config ARM_ERRATA_460075
  991. bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
  992. depends on CPU_V7
  993. help
  994. This option enables the workaround for the 460075 Cortex-A8 (r2p0)
  995. erratum. Any asynchronous access to the L2 cache may encounter a
  996. situation in which recent store transactions to the L2 cache are lost
  997. and overwritten with stale memory contents from external memory. The
  998. workaround disables the write-allocate mode for the L2 cache via the
  999. ACTLR register. Note that setting specific bits in the ACTLR register
  1000. may not be available in non-secure mode.
  1001. config ARM_ERRATA_742230
  1002. bool "ARM errata: DMB operation may be faulty"
  1003. depends on CPU_V7 && SMP
  1004. help
  1005. This option enables the workaround for the 742230 Cortex-A9
  1006. (r1p0..r2p2) erratum. Under rare circumstances, a DMB instruction
  1007. between two write operations may not ensure the correct visibility
  1008. ordering of the two writes. This workaround sets a specific bit in
  1009. the diagnostic register of the Cortex-A9 which causes the DMB
  1010. instruction to behave as a DSB, ensuring the correct behaviour of
  1011. the two writes.
  1012. config ARM_ERRATA_742231
  1013. bool "ARM errata: Incorrect hazard handling in the SCU may lead to data corruption"
  1014. depends on CPU_V7 && SMP
  1015. help
  1016. This option enables the workaround for the 742231 Cortex-A9
  1017. (r2p0..r2p2) erratum. Under certain conditions, specific to the
  1018. Cortex-A9 MPCore micro-architecture, two CPUs working in SMP mode,
  1019. accessing some data located in the same cache line, may get corrupted
  1020. data due to bad handling of the address hazard when the line gets
  1021. replaced from one of the CPUs at the same time as another CPU is
  1022. accessing it. This workaround sets specific bits in the diagnostic
  1023. register of the Cortex-A9 which reduces the linefill issuing
  1024. capabilities of the processor.
  1025. config PL310_ERRATA_588369
  1026. bool "Clean & Invalidate maintenance operations do not invalidate clean lines"
  1027. depends on CACHE_L2X0
  1028. help
  1029. The PL310 L2 cache controller implements three types of Clean &
  1030. Invalidate maintenance operations: by Physical Address
  1031. (offset 0x7F0), by Index/Way (0x7F8) and by Way (0x7FC).
  1032. They are architecturally defined to behave as the execution of a
  1033. clean operation followed immediately by an invalidate operation,
  1034. both performing to the same memory location. This functionality
  1035. is not correctly implemented in PL310 as clean lines are not
  1036. invalidated as a result of these operations.
  1037. config ARM_ERRATA_720789
  1038. bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID"
  1039. depends on CPU_V7 && SMP
  1040. help
  1041. This option enables the workaround for the 720789 Cortex-A9 (prior to
  1042. r2p0) erratum. A faulty ASID can be sent to the other CPUs for the
  1043. broadcasted CP15 TLB maintenance operations TLBIASIDIS and TLBIMVAIS.
  1044. As a consequence of this erratum, some TLB entries which should be
  1045. invalidated are not, resulting in an incoherency in the system page
  1046. tables. The workaround changes the TLB flushing routines to invalidate
  1047. entries regardless of the ASID.
  1048. config PL310_ERRATA_727915
  1049. bool "Background Clean & Invalidate by Way operation can cause data corruption"
  1050. depends on CACHE_L2X0
  1051. help
  1052. PL310 implements the Clean & Invalidate by Way L2 cache maintenance
  1053. operation (offset 0x7FC). This operation runs in background so that
  1054. PL310 can handle normal accesses while it is in progress. Under very
  1055. rare circumstances, due to this erratum, write data can be lost when
  1056. PL310 treats a cacheable write transaction during a Clean &
  1057. Invalidate by Way operation.
  1058. config ARM_ERRATA_743622
  1059. bool "ARM errata: Faulty hazard checking in the Store Buffer may lead to data corruption"
  1060. depends on CPU_V7
  1061. help
  1062. This option enables the workaround for the 743622 Cortex-A9
  1063. (r2p0..r2p2) erratum. Under very rare conditions, a faulty
  1064. optimisation in the Cortex-A9 Store Buffer may lead to data
  1065. corruption. This workaround sets a specific bit in the diagnostic
  1066. register of the Cortex-A9 which disables the Store Buffer
  1067. optimisation, preventing the defect from occurring. This has no
  1068. visible impact on the overall performance or power consumption of the
  1069. processor.
  1070. config ARM_ERRATA_751472
  1071. bool "ARM errata: Interrupted ICIALLUIS may prevent completion of broadcasted operation"
  1072. depends on CPU_V7 && SMP
  1073. help
  1074. This option enables the workaround for the 751472 Cortex-A9 (prior
  1075. to r3p0) erratum. An interrupted ICIALLUIS operation may prevent the
  1076. completion of a following broadcasted operation if the second
  1077. operation is received by a CPU before the ICIALLUIS has completed,
  1078. potentially leading to corrupted entries in the cache or TLB.
  1079. config ARM_ERRATA_753970
  1080. bool "ARM errata: cache sync operation may be faulty"
  1081. depends on CACHE_PL310
  1082. help
  1083. This option enables the workaround for the 753970 PL310 (r3p0) erratum.
  1084. Under some condition the effect of cache sync operation on
  1085. the store buffer still remains when the operation completes.
  1086. This means that the store buffer is always asked to drain and
  1087. this prevents it from merging any further writes. The workaround
  1088. is to replace the normal offset of cache sync operation (0x730)
  1089. by another offset targeting an unmapped PL310 register 0x740.
  1090. This has the same effect as the cache sync operation: store buffer
  1091. drain and waiting for all buffers empty.
  1092. config ARM_ERRATA_754322
  1093. bool "ARM errata: possible faulty MMU translations following an ASID switch"
  1094. depends on CPU_V7
  1095. help
  1096. This option enables the workaround for the 754322 Cortex-A9 (r2p*,
  1097. r3p*) erratum. A speculative memory access may cause a page table walk
  1098. which starts prior to an ASID switch but completes afterwards. This
  1099. can populate the micro-TLB with a stale entry which may be hit with
  1100. the new ASID. This workaround places two dsb instructions in the mm
  1101. switching code so that no page table walks can cross the ASID switch.
  1102. config ARM_ERRATA_754327
  1103. bool "ARM errata: no automatic Store Buffer drain"
  1104. depends on CPU_V7 && SMP
  1105. help
  1106. This option enables the workaround for the 754327 Cortex-A9 (prior to
  1107. r2p0) erratum. The Store Buffer does not have any automatic draining
  1108. mechanism and therefore a livelock may occur if an external agent
  1109. continuously polls a memory location waiting to observe an update.
  1110. This workaround defines cpu_relax() as smp_mb(), preventing correctly
  1111. written polling loops from denying visibility of updates to memory.
  1112. config ARM_ERRATA_364296
  1113. bool "ARM errata: Possible cache data corruption with hit-under-miss enabled"
  1114. depends on CPU_V6 && !SMP
  1115. help
  1116. This options enables the workaround for the 364296 ARM1136
  1117. r0p2 erratum (possible cache data corruption with
  1118. hit-under-miss enabled). It sets the undocumented bit 31 in
  1119. the auxiliary control register and the FI bit in the control
  1120. register, thus disabling hit-under-miss without putting the
  1121. processor into full low interrupt latency mode. ARM11MPCore
  1122. is not affected.
  1123. config ARM_ERRATA_764369
  1124. bool "ARM errata: Data cache line maintenance operation by MVA may not succeed"
  1125. depends on CPU_V7 && SMP
  1126. help
  1127. This option enables the workaround for erratum 764369
  1128. affecting Cortex-A9 MPCore with two or more processors (all
  1129. current revisions). Under certain timing circumstances, a data
  1130. cache line maintenance operation by MVA targeting an Inner
  1131. Shareable memory region may fail to proceed up to either the
  1132. Point of Coherency or to the Point of Unification of the
  1133. system. This workaround adds a DSB instruction before the
  1134. relevant cache maintenance functions and sets a specific bit
  1135. in the diagnostic control register of the SCU.
  1136. endmenu
  1137. source "arch/arm/common/Kconfig"
  1138. menu "Bus support"
  1139. config ARM_AMBA
  1140. bool
  1141. config ISA
  1142. bool
  1143. help
  1144. Find out whether you have ISA slots on your motherboard. ISA is the
  1145. name of a bus system, i.e. the way the CPU talks to the other stuff
  1146. inside your box. Other bus systems are PCI, EISA, MicroChannel
  1147. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  1148. newer boards don't support it. If you have ISA, say Y, otherwise N.
  1149. # Select ISA DMA controller support
  1150. config ISA_DMA
  1151. bool
  1152. select ISA_DMA_API
  1153. # Select ISA DMA interface
  1154. config ISA_DMA_API
  1155. bool
  1156. config PCI
  1157. bool "PCI support" if MIGHT_HAVE_PCI
  1158. help
  1159. Find out whether you have a PCI motherboard. PCI is the name of a
  1160. bus system, i.e. the way the CPU talks to the other stuff inside
  1161. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  1162. VESA. If you have PCI, say Y, otherwise N.
  1163. config PCI_DOMAINS
  1164. bool
  1165. depends on PCI
  1166. config PCI_NANOENGINE
  1167. bool "BSE nanoEngine PCI support"
  1168. depends on SA1100_NANOENGINE
  1169. help
  1170. Enable PCI on the BSE nanoEngine board.
  1171. config PCI_SYSCALL
  1172. def_bool PCI
  1173. # Select the host bridge type
  1174. config PCI_HOST_VIA82C505
  1175. bool
  1176. depends on PCI && ARCH_SHARK
  1177. default y
  1178. config PCI_HOST_ITE8152
  1179. bool
  1180. depends on PCI && MACH_ARMCORE
  1181. default y
  1182. select DMABOUNCE
  1183. source "drivers/pci/Kconfig"
  1184. source "drivers/pcmcia/Kconfig"
  1185. endmenu
  1186. menu "Kernel Features"
  1187. source "kernel/time/Kconfig"
  1188. config SMP
  1189. bool "Symmetric Multi-Processing"
  1190. depends on CPU_V6K || CPU_V7
  1191. depends on GENERIC_CLOCKEVENTS
  1192. depends on REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP || \
  1193. MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || \
  1194. ARCH_EXYNOS4 || ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || \
  1195. ARCH_MSM_SCORPIONMP || ARCH_SHMOBILE
  1196. select USE_GENERIC_SMP_HELPERS
  1197. select HAVE_ARM_SCU if !ARCH_MSM_SCORPIONMP
  1198. help
  1199. This enables support for systems with more than one CPU. If you have
  1200. a system with only one CPU, like most personal computers, say N. If
  1201. you have a system with more than one CPU, say Y.
  1202. If you say N here, the kernel will run on single and multiprocessor
  1203. machines, but will use only one CPU of a multiprocessor machine. If
  1204. you say Y here, the kernel will run on many, but not all, single
  1205. processor machines. On a single processor machine, the kernel will
  1206. run faster if you say N here.
  1207. See also <file:Documentation/i386/IO-APIC.txt>,
  1208. <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
  1209. <http://tldp.org/HOWTO/SMP-HOWTO.html>.
  1210. If you don't know what to do here, say N.
  1211. config SMP_ON_UP
  1212. bool "Allow booting SMP kernel on uniprocessor systems (EXPERIMENTAL)"
  1213. depends on EXPERIMENTAL
  1214. depends on SMP && !XIP_KERNEL
  1215. default y
  1216. help
  1217. SMP kernels contain instructions which fail on non-SMP processors.
  1218. Enabling this option allows the kernel to modify itself to make
  1219. these instructions safe. Disabling it allows about 1K of space
  1220. savings.
  1221. If you don't know what to do here, say Y.
  1222. config HAVE_ARM_SCU
  1223. bool
  1224. help
  1225. This option enables support for the ARM system coherency unit
  1226. config HAVE_ARM_TWD
  1227. bool
  1228. depends on SMP
  1229. select TICK_ONESHOT
  1230. help
  1231. This options enables support for the ARM timer and watchdog unit
  1232. choice
  1233. prompt "Memory split"
  1234. default VMSPLIT_3G
  1235. help
  1236. Select the desired split between kernel and user memory.
  1237. If you are not absolutely sure what you are doing, leave this
  1238. option alone!
  1239. config VMSPLIT_3G
  1240. bool "3G/1G user/kernel split"
  1241. config VMSPLIT_2G
  1242. bool "2G/2G user/kernel split"
  1243. config VMSPLIT_1G
  1244. bool "1G/3G user/kernel split"
  1245. endchoice
  1246. config PAGE_OFFSET
  1247. hex
  1248. default 0x40000000 if VMSPLIT_1G
  1249. default 0x80000000 if VMSPLIT_2G
  1250. default 0xC0000000
  1251. config NR_CPUS
  1252. int "Maximum number of CPUs (2-32)"
  1253. range 2 32
  1254. depends on SMP
  1255. default "4"
  1256. config HOTPLUG_CPU
  1257. bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
  1258. depends on SMP && HOTPLUG && EXPERIMENTAL
  1259. help
  1260. Say Y here to experiment with turning CPUs off and on. CPUs
  1261. can be controlled through /sys/devices/system/cpu.
  1262. config LOCAL_TIMERS
  1263. bool "Use local timer interrupts"
  1264. depends on SMP
  1265. default y
  1266. select HAVE_ARM_TWD if (!ARCH_MSM_SCORPIONMP && !EXYNOS4_MCT)
  1267. help
  1268. Enable support for local timers on SMP platforms, rather then the
  1269. legacy IPI broadcast method. Local timers allows the system
  1270. accounting to be spread across the timer interval, preventing a
  1271. "thundering herd" at every timer tick.
  1272. source kernel/Kconfig.preempt
  1273. config HZ
  1274. int
  1275. default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P64X0 || \
  1276. ARCH_S5PV210 || ARCH_EXYNOS4
  1277. default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
  1278. default AT91_TIMER_HZ if ARCH_AT91
  1279. default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
  1280. default 100
  1281. config THUMB2_KERNEL
  1282. bool "Compile the kernel in Thumb-2 mode (EXPERIMENTAL)"
  1283. depends on CPU_V7 && !CPU_V6 && !CPU_V6K && EXPERIMENTAL
  1284. select AEABI
  1285. select ARM_ASM_UNIFIED
  1286. help
  1287. By enabling this option, the kernel will be compiled in
  1288. Thumb-2 mode. A compiler/assembler that understand the unified
  1289. ARM-Thumb syntax is needed.
  1290. If unsure, say N.
  1291. config THUMB2_AVOID_R_ARM_THM_JUMP11
  1292. bool "Work around buggy Thumb-2 short branch relocations in gas"
  1293. depends on THUMB2_KERNEL && MODULES
  1294. default y
  1295. help
  1296. Various binutils versions can resolve Thumb-2 branches to
  1297. locally-defined, preemptible global symbols as short-range "b.n"
  1298. branch instructions.
  1299. This is a problem, because there's no guarantee the final
  1300. destination of the symbol, or any candidate locations for a
  1301. trampoline, are within range of the branch. For this reason, the
  1302. kernel does not support fixing up the R_ARM_THM_JUMP11 (102)
  1303. relocation in modules at all, and it makes little sense to add
  1304. support.
  1305. The symptom is that the kernel fails with an "unsupported
  1306. relocation" error when loading some modules.
  1307. Until fixed tools are available, passing
  1308. -fno-optimize-sibling-calls to gcc should prevent gcc generating
  1309. code which hits this problem, at the cost of a bit of extra runtime
  1310. stack usage in some cases.
  1311. The problem is described in more detail at:
  1312. https://bugs.launchpad.net/binutils-linaro/+bug/725126
  1313. Only Thumb-2 kernels are affected.
  1314. Unless you are sure your tools don't have this problem, say Y.
  1315. config ARM_ASM_UNIFIED
  1316. bool
  1317. config AEABI
  1318. bool "Use the ARM EABI to compile the kernel"
  1319. help
  1320. This option allows for the kernel to be compiled using the latest
  1321. ARM ABI (aka EABI). This is only useful if you are using a user
  1322. space environment that is also compiled with EABI.
  1323. Since there are major incompatibilities between the legacy ABI and
  1324. EABI, especially with regard to structure member alignment, this
  1325. option also changes the kernel syscall calling convention to
  1326. disambiguate both ABIs and allow for backward compatibility support
  1327. (selected with CONFIG_OABI_COMPAT).
  1328. To use this you need GCC version 4.0.0 or later.
  1329. config OABI_COMPAT
  1330. bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
  1331. depends on AEABI && EXPERIMENTAL && !THUMB2_KERNEL
  1332. default y
  1333. help
  1334. This option preserves the old syscall interface along with the
  1335. new (ARM EABI) one. It also provides a compatibility layer to
  1336. intercept syscalls that have structure arguments which layout
  1337. in memory differs between the legacy ABI and the new ARM EABI
  1338. (only for non "thumb" binaries). This option adds a tiny
  1339. overhead to all syscalls and produces a slightly larger kernel.
  1340. If you know you'll be using only pure EABI user space then you
  1341. can say N here. If this option is not selected and you attempt
  1342. to execute a legacy ABI binary then the result will be
  1343. UNPREDICTABLE (in fact it can be predicted that it won't work
  1344. at all). If in doubt say Y.
  1345. config ARCH_HAS_HOLES_MEMORYMODEL
  1346. bool
  1347. config ARCH_SPARSEMEM_ENABLE
  1348. bool
  1349. config ARCH_SPARSEMEM_DEFAULT
  1350. def_bool ARCH_SPARSEMEM_ENABLE
  1351. config ARCH_SELECT_MEMORY_MODEL
  1352. def_bool ARCH_SPARSEMEM_ENABLE
  1353. config HAVE_ARCH_PFN_VALID
  1354. def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
  1355. config HIGHMEM
  1356. bool "High Memory Support"
  1357. depends on MMU
  1358. help
  1359. The address space of ARM processors is only 4 Gigabytes large
  1360. and it has to accommodate user address space, kernel address
  1361. space as well as some memory mapped IO. That means that, if you
  1362. have a large amount of physical memory and/or IO, not all of the
  1363. memory can be "permanently mapped" by the kernel. The physical
  1364. memory that is not permanently mapped is called "high memory".
  1365. Depending on the selected kernel/user memory split, minimum
  1366. vmalloc space and actual amount of RAM, you may not need this
  1367. option which should result in a slightly faster kernel.
  1368. If unsure, say n.
  1369. config HIGHPTE
  1370. bool "Allocate 2nd-level pagetables from highmem"
  1371. depends on HIGHMEM
  1372. config HW_PERF_EVENTS
  1373. bool "Enable hardware performance counter support for perf events"
  1374. depends on PERF_EVENTS && CPU_HAS_PMU
  1375. default y
  1376. help
  1377. Enable hardware performance counter support for perf events. If
  1378. disabled, perf events will use software events only.
  1379. source "mm/Kconfig"
  1380. config FORCE_MAX_ZONEORDER
  1381. int "Maximum zone order" if ARCH_SHMOBILE
  1382. range 11 64 if ARCH_SHMOBILE
  1383. default "9" if SA1111
  1384. default "11"
  1385. help
  1386. The kernel memory allocator divides physically contiguous memory
  1387. blocks into "zones", where each zone is a power of two number of
  1388. pages. This option selects the largest power of two that the kernel
  1389. keeps in the memory allocator. If you need to allocate very large
  1390. blocks of physically contiguous memory, then you may need to
  1391. increase this value.
  1392. This config option is actually maximum order plus one. For example,
  1393. a value of 11 means that the largest free memory block is 2^10 pages.
  1394. config LEDS
  1395. bool "Timer and CPU usage LEDs"
  1396. depends on ARCH_CDB89712 || ARCH_EBSA110 || \
  1397. ARCH_EBSA285 || ARCH_INTEGRATOR || \
  1398. ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
  1399. ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
  1400. ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
  1401. ARCH_AT91 || ARCH_DAVINCI || \
  1402. ARCH_KS8695 || MACH_RD88F5182 || ARCH_REALVIEW
  1403. help
  1404. If you say Y here, the LEDs on your machine will be used
  1405. to provide useful information about your current system status.
  1406. If you are compiling a kernel for a NetWinder or EBSA-285, you will
  1407. be able to select which LEDs are active using the options below. If
  1408. you are compiling a kernel for the EBSA-110 or the LART however, the
  1409. red LED will simply flash regularly to indicate that the system is
  1410. still functional. It is safe to say Y here if you have a CATS
  1411. system, but the driver will do nothing.
  1412. config LEDS_TIMER
  1413. bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
  1414. OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
  1415. || MACH_OMAP_PERSEUS2
  1416. depends on LEDS
  1417. depends on !GENERIC_CLOCKEVENTS
  1418. default y if ARCH_EBSA110
  1419. help
  1420. If you say Y here, one of the system LEDs (the green one on the
  1421. NetWinder, the amber one on the EBSA285, or the red one on the LART)
  1422. will flash regularly to indicate that the system is still
  1423. operational. This is mainly useful to kernel hackers who are
  1424. debugging unstable kernels.
  1425. The LART uses the same LED for both Timer LED and CPU usage LED
  1426. functions. You may choose to use both, but the Timer LED function
  1427. will overrule the CPU usage LED.
  1428. config LEDS_CPU
  1429. bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
  1430. !ARCH_OMAP) \
  1431. || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
  1432. || MACH_OMAP_PERSEUS2
  1433. depends on LEDS
  1434. help
  1435. If you say Y here, the red LED will be used to give a good real
  1436. time indication of CPU usage, by lighting whenever the idle task
  1437. is not currently executing.
  1438. The LART uses the same LED for both Timer LED and CPU usage LED
  1439. functions. You may choose to use both, but the Timer LED function
  1440. will overrule the CPU usage LED.
  1441. config ALIGNMENT_TRAP
  1442. bool
  1443. depends on CPU_CP15_MMU
  1444. default y if !ARCH_EBSA110
  1445. select HAVE_PROC_CPU if PROC_FS
  1446. help
  1447. ARM processors cannot fetch/store information which is not
  1448. naturally aligned on the bus, i.e., a 4 byte fetch must start at an
  1449. address divisible by 4. On 32-bit ARM processors, these non-aligned
  1450. fetch/store instructions will be emulated in software if you say
  1451. here, which has a severe performance impact. This is necessary for
  1452. correct operation of some network protocols. With an IP-only
  1453. configuration it is safe to say N, otherwise say Y.
  1454. config UACCESS_WITH_MEMCPY
  1455. bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)"
  1456. depends on MMU && EXPERIMENTAL
  1457. default y if CPU_FEROCEON
  1458. help
  1459. Implement faster copy_to_user and clear_user methods for CPU
  1460. cores where a 8-word STM instruction give significantly higher
  1461. memory write throughput than a sequence of individual 32bit stores.
  1462. A possible side effect is a slight increase in scheduling latency
  1463. between threads sharing the same address space if they invoke
  1464. such copy operations with large buffers.
  1465. However, if the CPU data cache is using a write-allocate mode,
  1466. this option is unlikely to provide any performance gain.
  1467. config SECCOMP
  1468. bool
  1469. prompt "Enable seccomp to safely compute untrusted bytecode"
  1470. ---help---
  1471. This kernel feature is useful for number crunching applications
  1472. that may need to compute untrusted bytecode during their
  1473. execution. By using pipes or other transports made available to
  1474. the process as file descriptors supporting the read/write
  1475. syscalls, it's possible to isolate those applications in
  1476. their own address space using seccomp. Once seccomp is
  1477. enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
  1478. and the task is only allowed to execute a few safe syscalls
  1479. defined by each seccomp mode.
  1480. config CC_STACKPROTECTOR
  1481. bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
  1482. depends on EXPERIMENTAL
  1483. help
  1484. This option turns on the -fstack-protector GCC feature. This
  1485. feature puts, at the beginning of functions, a canary value on
  1486. the stack just before the return address, and validates
  1487. the value just before actually returning. Stack based buffer
  1488. overflows (that need to overwrite this return address) now also
  1489. overwrite the canary, which gets detected and the attack is then
  1490. neutralized via a kernel panic.
  1491. This feature requires gcc version 4.2 or above.
  1492. config DEPRECATED_PARAM_STRUCT
  1493. bool "Provide old way to pass kernel parameters"
  1494. help
  1495. This was deprecated in 2001 and announced to live on for 5 years.
  1496. Some old boot loaders still use this way.
  1497. endmenu
  1498. menu "Boot options"
  1499. config USE_OF
  1500. bool "Flattened Device Tree support"
  1501. select OF
  1502. select OF_EARLY_FLATTREE
  1503. select IRQ_DOMAIN
  1504. help
  1505. Include support for flattened device tree machine descriptions.
  1506. # Compressed boot loader in ROM. Yes, we really want to ask about
  1507. # TEXT and BSS so we preserve their values in the config files.
  1508. config ZBOOT_ROM_TEXT
  1509. hex "Compressed ROM boot loader base address"
  1510. default "0"
  1511. help
  1512. The physical address at which the ROM-able zImage is to be
  1513. placed in the target. Platforms which normally make use of
  1514. ROM-able zImage formats normally set this to a suitable
  1515. value in their defconfig file.
  1516. If ZBOOT_ROM is not enabled, this has no effect.
  1517. config ZBOOT_ROM_BSS
  1518. hex "Compressed ROM boot loader BSS address"
  1519. default "0"
  1520. help
  1521. The base address of an area of read/write memory in the target
  1522. for the ROM-able zImage which must be available while the
  1523. decompressor is running. It must be large enough to hold the
  1524. entire decompressed kernel plus an additional 128 KiB.
  1525. Platforms which normally make use of ROM-able zImage formats
  1526. normally set this to a suitable value in their defconfig file.
  1527. If ZBOOT_ROM is not enabled, this has no effect.
  1528. config ZBOOT_ROM
  1529. bool "Compressed boot loader in ROM/flash"
  1530. depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
  1531. help
  1532. Say Y here if you intend to execute your compressed kernel image
  1533. (zImage) directly from ROM or flash. If unsure, say N.
  1534. choice
  1535. prompt "Include SD/MMC loader in zImage (EXPERIMENTAL)"
  1536. depends on ZBOOT_ROM && ARCH_SH7372 && EXPERIMENTAL
  1537. default ZBOOT_ROM_NONE
  1538. help
  1539. Include experimental SD/MMC loading code in the ROM-able zImage.
  1540. With this enabled it is possible to write the the ROM-able zImage
  1541. kernel image to an MMC or SD card and boot the kernel straight
  1542. from the reset vector. At reset the processor Mask ROM will load
  1543. the first part of the the ROM-able zImage which in turn loads the
  1544. rest the kernel image to RAM.
  1545. config ZBOOT_ROM_NONE
  1546. bool "No SD/MMC loader in zImage (EXPERIMENTAL)"
  1547. help
  1548. Do not load image from SD or MMC
  1549. config ZBOOT_ROM_MMCIF
  1550. bool "Include MMCIF loader in zImage (EXPERIMENTAL)"
  1551. help
  1552. Load image from MMCIF hardware block.
  1553. config ZBOOT_ROM_SH_MOBILE_SDHI
  1554. bool "Include SuperH Mobile SDHI loader in zImage (EXPERIMENTAL)"
  1555. help
  1556. Load image from SDHI hardware block
  1557. endchoice
  1558. config CMDLINE
  1559. string "Default kernel command string"
  1560. default ""
  1561. help
  1562. On some architectures (EBSA110 and CATS), there is currently no way
  1563. for the boot loader to pass arguments to the kernel. For these
  1564. architectures, you should supply some command-line options at build
  1565. time by entering them here. As a minimum, you should specify the
  1566. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  1567. choice
  1568. prompt "Kernel command line type" if CMDLINE != ""
  1569. default CMDLINE_FROM_BOOTLOADER
  1570. config CMDLINE_FROM_BOOTLOADER
  1571. bool "Use bootloader kernel arguments if available"
  1572. help
  1573. Uses the command-line options passed by the boot loader. If
  1574. the boot loader doesn't provide any, the default kernel command
  1575. string provided in CMDLINE will be used.
  1576. config CMDLINE_EXTEND
  1577. bool "Extend bootloader kernel arguments"
  1578. help
  1579. The command-line arguments provided by the boot loader will be
  1580. appended to the default kernel command string.
  1581. config CMDLINE_FORCE
  1582. bool "Always use the default kernel command string"
  1583. help
  1584. Always use the default kernel command string, even if the boot
  1585. loader passes other arguments to the kernel.
  1586. This is useful if you cannot or don't want to change the
  1587. command-line options your boot loader passes to the kernel.
  1588. endchoice
  1589. config XIP_KERNEL
  1590. bool "Kernel Execute-In-Place from ROM"
  1591. depends on !ZBOOT_ROM
  1592. help
  1593. Execute-In-Place allows the kernel to run from non-volatile storage
  1594. directly addressable by the CPU, such as NOR flash. This saves RAM
  1595. space since the text section of the kernel is not loaded from flash
  1596. to RAM. Read-write sections, such as the data section and stack,
  1597. are still copied to RAM. The XIP kernel is not compressed since
  1598. it has to run directly from flash, so it will take more space to
  1599. store it. The flash address used to link the kernel object files,
  1600. and for storing it, is configuration dependent. Therefore, if you
  1601. say Y here, you must know the proper physical address where to
  1602. store the kernel image depending on your own flash memory usage.
  1603. Also note that the make target becomes "make xipImage" rather than
  1604. "make zImage" or "make Image". The final kernel binary to put in
  1605. ROM memory will be arch/arm/boot/xipImage.
  1606. If unsure, say N.
  1607. config XIP_PHYS_ADDR
  1608. hex "XIP Kernel Physical Location"
  1609. depends on XIP_KERNEL
  1610. default "0x00080000"
  1611. help
  1612. This is the physical address in your flash memory the kernel will
  1613. be linked for and stored to. This address is dependent on your
  1614. own flash usage.
  1615. config KEXEC
  1616. bool "Kexec system call (EXPERIMENTAL)"
  1617. depends on EXPERIMENTAL
  1618. help
  1619. kexec is a system call that implements the ability to shutdown your
  1620. current kernel, and to start another kernel. It is like a reboot
  1621. but it is independent of the system firmware. And like a reboot
  1622. you can start any kernel with it, not just Linux.
  1623. It is an ongoing process to be certain the hardware in a machine
  1624. is properly shutdown, so do not be surprised if this code does not
  1625. initially work for you. It may help to enable device hotplugging
  1626. support.
  1627. config ATAGS_PROC
  1628. bool "Export atags in procfs"
  1629. depends on KEXEC
  1630. default y
  1631. help
  1632. Should the atags used to boot the kernel be exported in an "atags"
  1633. file in procfs. Useful with kexec.
  1634. config CRASH_DUMP
  1635. bool "Build kdump crash kernel (EXPERIMENTAL)"
  1636. depends on EXPERIMENTAL
  1637. help
  1638. Generate crash dump after being started by kexec. This should
  1639. be normally only set in special crash dump kernels which are
  1640. loaded in the main kernel with kexec-tools into a specially
  1641. reserved region and then later executed after a crash by
  1642. kdump/kexec. The crash dump kernel must be compiled to a
  1643. memory address not used by the main kernel
  1644. For more details see Documentation/kdump/kdump.txt
  1645. config AUTO_ZRELADDR
  1646. bool "Auto calculation of the decompressed kernel image address"
  1647. depends on !ZBOOT_ROM && !ARCH_U300
  1648. help
  1649. ZRELADDR is the physical address where the decompressed kernel
  1650. image will be placed. If AUTO_ZRELADDR is selected, the address
  1651. will be determined at run-time by masking the current IP with
  1652. 0xf8000000. This assumes the zImage being placed in the first 128MB
  1653. from start of memory.
  1654. endmenu
  1655. menu "CPU Power Management"
  1656. if ARCH_HAS_CPUFREQ
  1657. source "drivers/cpufreq/Kconfig"
  1658. config CPU_FREQ_IMX
  1659. tristate "CPUfreq driver for i.MX CPUs"
  1660. depends on ARCH_MXC && CPU_FREQ
  1661. help
  1662. This enables the CPUfreq driver for i.MX CPUs.
  1663. config CPU_FREQ_SA1100
  1664. bool
  1665. config CPU_FREQ_SA1110
  1666. bool
  1667. config CPU_FREQ_INTEGRATOR
  1668. tristate "CPUfreq driver for ARM Integrator CPUs"
  1669. depends on ARCH_INTEGRATOR && CPU_FREQ
  1670. default y
  1671. help
  1672. This enables the CPUfreq driver for ARM Integrator CPUs.
  1673. For details, take a look at <file:Documentation/cpu-freq>.
  1674. If in doubt, say Y.
  1675. config CPU_FREQ_PXA
  1676. bool
  1677. depends on CPU_FREQ && ARCH_PXA && PXA25x
  1678. default y
  1679. select CPU_FREQ_DEFAULT_GOV_USERSPACE
  1680. config CPU_FREQ_S3C
  1681. bool
  1682. help
  1683. Internal configuration node for common cpufreq on Samsung SoC
  1684. config CPU_FREQ_S3C24XX
  1685. bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
  1686. depends on ARCH_S3C2410 && CPU_FREQ && EXPERIMENTAL
  1687. select CPU_FREQ_S3C
  1688. help
  1689. This enables the CPUfreq driver for the Samsung S3C24XX family
  1690. of CPUs.
  1691. For details, take a look at <file:Documentation/cpu-freq>.
  1692. If in doubt, say N.
  1693. config CPU_FREQ_S3C24XX_PLL
  1694. bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
  1695. depends on CPU_FREQ_S3C24XX && EXPERIMENTAL
  1696. help
  1697. Compile in support for changing the PLL frequency from the
  1698. S3C24XX series CPUfreq driver. The PLL takes time to settle
  1699. after a frequency change, so by default it is not enabled.
  1700. This also means that the PLL tables for the selected CPU(s) will
  1701. be built which may increase the size of the kernel image.
  1702. config CPU_FREQ_S3C24XX_DEBUG
  1703. bool "Debug CPUfreq Samsung driver core"
  1704. depends on CPU_FREQ_S3C24XX
  1705. help
  1706. Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
  1707. config CPU_FREQ_S3C24XX_IODEBUG
  1708. bool "Debug CPUfreq Samsung driver IO timing"
  1709. depends on CPU_FREQ_S3C24XX
  1710. help
  1711. Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
  1712. config CPU_FREQ_S3C24XX_DEBUGFS
  1713. bool "Export debugfs for CPUFreq"
  1714. depends on CPU_FREQ_S3C24XX && DEBUG_FS
  1715. help
  1716. Export status information via debugfs.
  1717. endif
  1718. source "drivers/cpuidle/Kconfig"
  1719. endmenu
  1720. menu "Floating point emulation"
  1721. comment "At least one emulation must be selected"
  1722. config FPE_NWFPE
  1723. bool "NWFPE math emulation"
  1724. depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
  1725. ---help---
  1726. Say Y to include the NWFPE floating point emulator in the kernel.
  1727. This is necessary to run most binaries. Linux does not currently
  1728. support floating point hardware so you need to say Y here even if
  1729. your machine has an FPA or floating point co-processor podule.
  1730. You may say N here if you are going to load the Acorn FPEmulator
  1731. early in the bootup.
  1732. config FPE_NWFPE_XP
  1733. bool "Support extended precision"
  1734. depends on FPE_NWFPE
  1735. help
  1736. Say Y to include 80-bit support in the kernel floating-point
  1737. emulator. Otherwise, only 32 and 64-bit support is compiled in.
  1738. Note that gcc does not generate 80-bit operations by default,
  1739. so in most cases this option only enlarges the size of the
  1740. floating point emulator without any good reason.
  1741. You almost surely want to say N here.
  1742. config FPE_FASTFPE
  1743. bool "FastFPE math emulation (EXPERIMENTAL)"
  1744. depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
  1745. ---help---
  1746. Say Y here to include the FAST floating point emulator in the kernel.
  1747. This is an experimental much faster emulator which now also has full
  1748. precision for the mantissa. It does not support any exceptions.
  1749. It is very simple, and approximately 3-6 times faster than NWFPE.
  1750. It should be sufficient for most programs. It may be not suitable
  1751. for scientific calculations, but you have to check this for yourself.
  1752. If you do not feel you need a faster FP emulation you should better
  1753. choose NWFPE.
  1754. config VFP
  1755. bool "VFP-format floating point maths"
  1756. depends on CPU_V6 || CPU_V6K || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
  1757. help
  1758. Say Y to include VFP support code in the kernel. This is needed
  1759. if your hardware includes a VFP unit.
  1760. Please see <file:Documentation/arm/VFP/release-notes.txt> for
  1761. release notes and additional status information.
  1762. Say N if your target does not have VFP hardware.
  1763. config VFPv3
  1764. bool
  1765. depends on VFP
  1766. default y if CPU_V7
  1767. config NEON
  1768. bool "Advanced SIMD (NEON) Extension support"
  1769. depends on VFPv3 && CPU_V7
  1770. help
  1771. Say Y to include support code for NEON, the ARMv7 Advanced SIMD
  1772. Extension.
  1773. endmenu
  1774. menu "Userspace binary formats"
  1775. source "fs/Kconfig.binfmt"
  1776. config ARTHUR
  1777. tristate "RISC OS personality"
  1778. depends on !AEABI
  1779. help
  1780. Say Y here to include the kernel code necessary if you want to run
  1781. Acorn RISC OS/Arthur binaries under Linux. This code is still very
  1782. experimental; if this sounds frightening, say N and sleep in peace.
  1783. You can also say M here to compile this support as a module (which
  1784. will be called arthur).
  1785. endmenu
  1786. menu "Power management options"
  1787. source "kernel/power/Kconfig"
  1788. config ARCH_SUSPEND_POSSIBLE
  1789. depends on !ARCH_S5P64X0 && !ARCH_S5PC100
  1790. depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \
  1791. CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE
  1792. def_bool y
  1793. endmenu
  1794. source "net/Kconfig"
  1795. source "drivers/Kconfig"
  1796. source "fs/Kconfig"
  1797. source "arch/arm/Kconfig.debug"
  1798. source "security/Kconfig"
  1799. source "crypto/Kconfig"
  1800. source "lib/Kconfig"