Kconfig 61 KB

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