Kconfig 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146
  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_MACH_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 ARCH_REQUIRE_GPIOLIB
  763. select NEED_MACH_MEMORY_H
  764. help
  765. Support for ST-Ericsson U300 series mobile platforms.
  766. config ARCH_U8500
  767. bool "ST-Ericsson U8500 Series"
  768. select CPU_V7
  769. select ARM_AMBA
  770. select GENERIC_CLOCKEVENTS
  771. select CLKDEV_LOOKUP
  772. select ARCH_REQUIRE_GPIOLIB
  773. select ARCH_HAS_CPUFREQ
  774. help
  775. Support for ST-Ericsson's Ux500 architecture
  776. config ARCH_NOMADIK
  777. bool "STMicroelectronics Nomadik"
  778. select ARM_AMBA
  779. select ARM_VIC
  780. select CPU_ARM926T
  781. select CLKDEV_LOOKUP
  782. select GENERIC_CLOCKEVENTS
  783. select ARCH_REQUIRE_GPIOLIB
  784. help
  785. Support for the Nomadik platform by ST-Ericsson
  786. config ARCH_DAVINCI
  787. bool "TI DaVinci"
  788. select GENERIC_CLOCKEVENTS
  789. select ARCH_REQUIRE_GPIOLIB
  790. select ZONE_DMA
  791. select HAVE_IDE
  792. select CLKDEV_LOOKUP
  793. select GENERIC_ALLOCATOR
  794. select GENERIC_IRQ_CHIP
  795. select ARCH_HAS_HOLES_MEMORYMODEL
  796. help
  797. Support for TI's DaVinci platform.
  798. config ARCH_OMAP
  799. bool "TI OMAP"
  800. select HAVE_CLK
  801. select ARCH_REQUIRE_GPIOLIB
  802. select ARCH_HAS_CPUFREQ
  803. select CLKSRC_MMIO
  804. select GENERIC_CLOCKEVENTS
  805. select HAVE_SCHED_CLOCK
  806. select ARCH_HAS_HOLES_MEMORYMODEL
  807. help
  808. Support for TI's OMAP platform (OMAP1/2/3/4).
  809. config PLAT_SPEAR
  810. bool "ST SPEAr"
  811. select ARM_AMBA
  812. select ARCH_REQUIRE_GPIOLIB
  813. select CLKDEV_LOOKUP
  814. select CLKSRC_MMIO
  815. select GENERIC_CLOCKEVENTS
  816. select HAVE_CLK
  817. help
  818. Support for ST's SPEAr platform (SPEAr3xx, SPEAr6xx and SPEAr13xx).
  819. config ARCH_VT8500
  820. bool "VIA/WonderMedia 85xx"
  821. select CPU_ARM926T
  822. select GENERIC_GPIO
  823. select ARCH_HAS_CPUFREQ
  824. select GENERIC_CLOCKEVENTS
  825. select ARCH_REQUIRE_GPIOLIB
  826. select HAVE_PWM
  827. help
  828. Support for VIA/WonderMedia VT8500/WM85xx System-on-Chip.
  829. config ARCH_ZYNQ
  830. bool "Xilinx Zynq ARM Cortex A9 Platform"
  831. select CPU_V7
  832. select GENERIC_TIME
  833. select GENERIC_CLOCKEVENTS
  834. select CLKDEV_LOOKUP
  835. select ARM_GIC
  836. select ARM_AMBA
  837. select ICST
  838. select USE_OF
  839. help
  840. Support for Xilinx Zynq ARM Cortex A9 Platform
  841. endchoice
  842. #
  843. # This is sorted alphabetically by mach-* pathname. However, plat-*
  844. # Kconfigs may be included either alphabetically (according to the
  845. # plat- suffix) or along side the corresponding mach-* source.
  846. #
  847. source "arch/arm/mach-at91/Kconfig"
  848. source "arch/arm/mach-bcmring/Kconfig"
  849. source "arch/arm/mach-clps711x/Kconfig"
  850. source "arch/arm/mach-cns3xxx/Kconfig"
  851. source "arch/arm/mach-davinci/Kconfig"
  852. source "arch/arm/mach-dove/Kconfig"
  853. source "arch/arm/mach-ep93xx/Kconfig"
  854. source "arch/arm/mach-footbridge/Kconfig"
  855. source "arch/arm/mach-gemini/Kconfig"
  856. source "arch/arm/mach-h720x/Kconfig"
  857. source "arch/arm/mach-integrator/Kconfig"
  858. source "arch/arm/mach-iop32x/Kconfig"
  859. source "arch/arm/mach-iop33x/Kconfig"
  860. source "arch/arm/mach-iop13xx/Kconfig"
  861. source "arch/arm/mach-ixp4xx/Kconfig"
  862. source "arch/arm/mach-ixp2000/Kconfig"
  863. source "arch/arm/mach-ixp23xx/Kconfig"
  864. source "arch/arm/mach-kirkwood/Kconfig"
  865. source "arch/arm/mach-ks8695/Kconfig"
  866. source "arch/arm/mach-lpc32xx/Kconfig"
  867. source "arch/arm/mach-msm/Kconfig"
  868. source "arch/arm/mach-mv78xx0/Kconfig"
  869. source "arch/arm/plat-mxc/Kconfig"
  870. source "arch/arm/mach-mxs/Kconfig"
  871. source "arch/arm/mach-netx/Kconfig"
  872. source "arch/arm/mach-nomadik/Kconfig"
  873. source "arch/arm/plat-nomadik/Kconfig"
  874. source "arch/arm/mach-nuc93x/Kconfig"
  875. source "arch/arm/plat-omap/Kconfig"
  876. source "arch/arm/mach-omap1/Kconfig"
  877. source "arch/arm/mach-omap2/Kconfig"
  878. source "arch/arm/mach-orion5x/Kconfig"
  879. source "arch/arm/mach-pxa/Kconfig"
  880. source "arch/arm/plat-pxa/Kconfig"
  881. source "arch/arm/mach-mmp/Kconfig"
  882. source "arch/arm/mach-realview/Kconfig"
  883. source "arch/arm/mach-sa1100/Kconfig"
  884. source "arch/arm/plat-samsung/Kconfig"
  885. source "arch/arm/plat-s3c24xx/Kconfig"
  886. source "arch/arm/plat-s5p/Kconfig"
  887. source "arch/arm/plat-spear/Kconfig"
  888. source "arch/arm/plat-tcc/Kconfig"
  889. if ARCH_S3C2410
  890. source "arch/arm/mach-s3c2410/Kconfig"
  891. source "arch/arm/mach-s3c2412/Kconfig"
  892. source "arch/arm/mach-s3c2416/Kconfig"
  893. source "arch/arm/mach-s3c2440/Kconfig"
  894. source "arch/arm/mach-s3c2443/Kconfig"
  895. endif
  896. if ARCH_S3C64XX
  897. source "arch/arm/mach-s3c64xx/Kconfig"
  898. endif
  899. source "arch/arm/mach-s5p64x0/Kconfig"
  900. source "arch/arm/mach-s5pc100/Kconfig"
  901. source "arch/arm/mach-s5pv210/Kconfig"
  902. source "arch/arm/mach-exynos4/Kconfig"
  903. source "arch/arm/mach-shmobile/Kconfig"
  904. source "arch/arm/mach-tegra/Kconfig"
  905. source "arch/arm/mach-u300/Kconfig"
  906. source "arch/arm/mach-ux500/Kconfig"
  907. source "arch/arm/mach-versatile/Kconfig"
  908. source "arch/arm/mach-vexpress/Kconfig"
  909. source "arch/arm/plat-versatile/Kconfig"
  910. source "arch/arm/mach-vt8500/Kconfig"
  911. source "arch/arm/mach-w90x900/Kconfig"
  912. # Definitions to make life easier
  913. config ARCH_ACORN
  914. bool
  915. config PLAT_IOP
  916. bool
  917. select GENERIC_CLOCKEVENTS
  918. select HAVE_SCHED_CLOCK
  919. config PLAT_ORION
  920. bool
  921. select CLKSRC_MMIO
  922. select GENERIC_IRQ_CHIP
  923. select HAVE_SCHED_CLOCK
  924. config PLAT_PXA
  925. bool
  926. config PLAT_VERSATILE
  927. bool
  928. config ARM_TIMER_SP804
  929. bool
  930. select CLKSRC_MMIO
  931. source arch/arm/mm/Kconfig
  932. config IWMMXT
  933. bool "Enable iWMMXt support"
  934. depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4
  935. default y if PXA27x || PXA3xx || PXA95x || ARCH_MMP
  936. help
  937. Enable support for iWMMXt context switching at run time if
  938. running on a CPU that supports it.
  939. # bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
  940. config XSCALE_PMU
  941. bool
  942. depends on CPU_XSCALE && !XSCALE_PMU_TIMER
  943. default y
  944. config CPU_HAS_PMU
  945. depends on (CPU_V6 || CPU_V6K || CPU_V7 || XSCALE_PMU) && \
  946. (!ARCH_OMAP3 || OMAP3_EMU)
  947. default y
  948. bool
  949. config MULTI_IRQ_HANDLER
  950. bool
  951. help
  952. Allow each machine to specify it's own IRQ handler at run time.
  953. if !MMU
  954. source "arch/arm/Kconfig-nommu"
  955. endif
  956. config ARM_ERRATA_411920
  957. bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
  958. depends on CPU_V6 || CPU_V6K
  959. help
  960. Invalidation of the Instruction Cache operation can
  961. fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
  962. It does not affect the MPCore. This option enables the ARM Ltd.
  963. recommended workaround.
  964. config ARM_ERRATA_430973
  965. bool "ARM errata: Stale prediction on replaced interworking branch"
  966. depends on CPU_V7
  967. help
  968. This option enables the workaround for the 430973 Cortex-A8
  969. (r1p0..r1p2) erratum. If a code sequence containing an ARM/Thumb
  970. interworking branch is replaced with another code sequence at the
  971. same virtual address, whether due to self-modifying code or virtual
  972. to physical address re-mapping, Cortex-A8 does not recover from the
  973. stale interworking branch prediction. This results in Cortex-A8
  974. executing the new code sequence in the incorrect ARM or Thumb state.
  975. The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
  976. and also flushes the branch target cache at every context switch.
  977. Note that setting specific bits in the ACTLR register may not be
  978. available in non-secure mode.
  979. config ARM_ERRATA_458693
  980. bool "ARM errata: Processor deadlock when a false hazard is created"
  981. depends on CPU_V7
  982. help
  983. This option enables the workaround for the 458693 Cortex-A8 (r2p0)
  984. erratum. For very specific sequences of memory operations, it is
  985. possible for a hazard condition intended for a cache line to instead
  986. be incorrectly associated with a different cache line. This false
  987. hazard might then cause a processor deadlock. The workaround enables
  988. the L1 caching of the NEON accesses and disables the PLD instruction
  989. in the ACTLR register. Note that setting specific bits in the ACTLR
  990. register may not be available in non-secure mode.
  991. config ARM_ERRATA_460075
  992. bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
  993. depends on CPU_V7
  994. help
  995. This option enables the workaround for the 460075 Cortex-A8 (r2p0)
  996. erratum. Any asynchronous access to the L2 cache may encounter a
  997. situation in which recent store transactions to the L2 cache are lost
  998. and overwritten with stale memory contents from external memory. The
  999. workaround disables the write-allocate mode for the L2 cache via the
  1000. ACTLR register. Note that setting specific bits in the ACTLR register
  1001. may not be available in non-secure mode.
  1002. config ARM_ERRATA_742230
  1003. bool "ARM errata: DMB operation may be faulty"
  1004. depends on CPU_V7 && SMP
  1005. help
  1006. This option enables the workaround for the 742230 Cortex-A9
  1007. (r1p0..r2p2) erratum. Under rare circumstances, a DMB instruction
  1008. between two write operations may not ensure the correct visibility
  1009. ordering of the two writes. This workaround sets a specific bit in
  1010. the diagnostic register of the Cortex-A9 which causes the DMB
  1011. instruction to behave as a DSB, ensuring the correct behaviour of
  1012. the two writes.
  1013. config ARM_ERRATA_742231
  1014. bool "ARM errata: Incorrect hazard handling in the SCU may lead to data corruption"
  1015. depends on CPU_V7 && SMP
  1016. help
  1017. This option enables the workaround for the 742231 Cortex-A9
  1018. (r2p0..r2p2) erratum. Under certain conditions, specific to the
  1019. Cortex-A9 MPCore micro-architecture, two CPUs working in SMP mode,
  1020. accessing some data located in the same cache line, may get corrupted
  1021. data due to bad handling of the address hazard when the line gets
  1022. replaced from one of the CPUs at the same time as another CPU is
  1023. accessing it. This workaround sets specific bits in the diagnostic
  1024. register of the Cortex-A9 which reduces the linefill issuing
  1025. capabilities of the processor.
  1026. config PL310_ERRATA_588369
  1027. bool "Clean & Invalidate maintenance operations do not invalidate clean lines"
  1028. depends on CACHE_L2X0
  1029. help
  1030. The PL310 L2 cache controller implements three types of Clean &
  1031. Invalidate maintenance operations: by Physical Address
  1032. (offset 0x7F0), by Index/Way (0x7F8) and by Way (0x7FC).
  1033. They are architecturally defined to behave as the execution of a
  1034. clean operation followed immediately by an invalidate operation,
  1035. both performing to the same memory location. This functionality
  1036. is not correctly implemented in PL310 as clean lines are not
  1037. invalidated as a result of these operations.
  1038. config ARM_ERRATA_720789
  1039. bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID"
  1040. depends on CPU_V7 && SMP
  1041. help
  1042. This option enables the workaround for the 720789 Cortex-A9 (prior to
  1043. r2p0) erratum. A faulty ASID can be sent to the other CPUs for the
  1044. broadcasted CP15 TLB maintenance operations TLBIASIDIS and TLBIMVAIS.
  1045. As a consequence of this erratum, some TLB entries which should be
  1046. invalidated are not, resulting in an incoherency in the system page
  1047. tables. The workaround changes the TLB flushing routines to invalidate
  1048. entries regardless of the ASID.
  1049. config PL310_ERRATA_727915
  1050. bool "Background Clean & Invalidate by Way operation can cause data corruption"
  1051. depends on CACHE_L2X0
  1052. help
  1053. PL310 implements the Clean & Invalidate by Way L2 cache maintenance
  1054. operation (offset 0x7FC). This operation runs in background so that
  1055. PL310 can handle normal accesses while it is in progress. Under very
  1056. rare circumstances, due to this erratum, write data can be lost when
  1057. PL310 treats a cacheable write transaction during a Clean &
  1058. Invalidate by Way operation.
  1059. config ARM_ERRATA_743622
  1060. bool "ARM errata: Faulty hazard checking in the Store Buffer may lead to data corruption"
  1061. depends on CPU_V7
  1062. help
  1063. This option enables the workaround for the 743622 Cortex-A9
  1064. (r2p0..r2p2) erratum. Under very rare conditions, a faulty
  1065. optimisation in the Cortex-A9 Store Buffer may lead to data
  1066. corruption. This workaround sets a specific bit in the diagnostic
  1067. register of the Cortex-A9 which disables the Store Buffer
  1068. optimisation, preventing the defect from occurring. This has no
  1069. visible impact on the overall performance or power consumption of the
  1070. processor.
  1071. config ARM_ERRATA_751472
  1072. bool "ARM errata: Interrupted ICIALLUIS may prevent completion of broadcasted operation"
  1073. depends on CPU_V7 && SMP
  1074. help
  1075. This option enables the workaround for the 751472 Cortex-A9 (prior
  1076. to r3p0) erratum. An interrupted ICIALLUIS operation may prevent the
  1077. completion of a following broadcasted operation if the second
  1078. operation is received by a CPU before the ICIALLUIS has completed,
  1079. potentially leading to corrupted entries in the cache or TLB.
  1080. config ARM_ERRATA_753970
  1081. bool "ARM errata: cache sync operation may be faulty"
  1082. depends on CACHE_PL310
  1083. help
  1084. This option enables the workaround for the 753970 PL310 (r3p0) erratum.
  1085. Under some condition the effect of cache sync operation on
  1086. the store buffer still remains when the operation completes.
  1087. This means that the store buffer is always asked to drain and
  1088. this prevents it from merging any further writes. The workaround
  1089. is to replace the normal offset of cache sync operation (0x730)
  1090. by another offset targeting an unmapped PL310 register 0x740.
  1091. This has the same effect as the cache sync operation: store buffer
  1092. drain and waiting for all buffers empty.
  1093. config ARM_ERRATA_754322
  1094. bool "ARM errata: possible faulty MMU translations following an ASID switch"
  1095. depends on CPU_V7
  1096. help
  1097. This option enables the workaround for the 754322 Cortex-A9 (r2p*,
  1098. r3p*) erratum. A speculative memory access may cause a page table walk
  1099. which starts prior to an ASID switch but completes afterwards. This
  1100. can populate the micro-TLB with a stale entry which may be hit with
  1101. the new ASID. This workaround places two dsb instructions in the mm
  1102. switching code so that no page table walks can cross the ASID switch.
  1103. config ARM_ERRATA_754327
  1104. bool "ARM errata: no automatic Store Buffer drain"
  1105. depends on CPU_V7 && SMP
  1106. help
  1107. This option enables the workaround for the 754327 Cortex-A9 (prior to
  1108. r2p0) erratum. The Store Buffer does not have any automatic draining
  1109. mechanism and therefore a livelock may occur if an external agent
  1110. continuously polls a memory location waiting to observe an update.
  1111. This workaround defines cpu_relax() as smp_mb(), preventing correctly
  1112. written polling loops from denying visibility of updates to memory.
  1113. config ARM_ERRATA_364296
  1114. bool "ARM errata: Possible cache data corruption with hit-under-miss enabled"
  1115. depends on CPU_V6 && !SMP
  1116. help
  1117. This options enables the workaround for the 364296 ARM1136
  1118. r0p2 erratum (possible cache data corruption with
  1119. hit-under-miss enabled). It sets the undocumented bit 31 in
  1120. the auxiliary control register and the FI bit in the control
  1121. register, thus disabling hit-under-miss without putting the
  1122. processor into full low interrupt latency mode. ARM11MPCore
  1123. is not affected.
  1124. config ARM_ERRATA_764369
  1125. bool "ARM errata: Data cache line maintenance operation by MVA may not succeed"
  1126. depends on CPU_V7 && SMP
  1127. help
  1128. This option enables the workaround for erratum 764369
  1129. affecting Cortex-A9 MPCore with two or more processors (all
  1130. current revisions). Under certain timing circumstances, a data
  1131. cache line maintenance operation by MVA targeting an Inner
  1132. Shareable memory region may fail to proceed up to either the
  1133. Point of Coherency or to the Point of Unification of the
  1134. system. This workaround adds a DSB instruction before the
  1135. relevant cache maintenance functions and sets a specific bit
  1136. in the diagnostic control register of the SCU.
  1137. endmenu
  1138. source "arch/arm/common/Kconfig"
  1139. menu "Bus support"
  1140. config ARM_AMBA
  1141. bool
  1142. config ISA
  1143. bool
  1144. help
  1145. Find out whether you have ISA slots on your motherboard. ISA is the
  1146. name of a bus system, i.e. the way the CPU talks to the other stuff
  1147. inside your box. Other bus systems are PCI, EISA, MicroChannel
  1148. (MCA) or VESA. ISA is an older system, now being displaced by PCI;
  1149. newer boards don't support it. If you have ISA, say Y, otherwise N.
  1150. # Select ISA DMA controller support
  1151. config ISA_DMA
  1152. bool
  1153. select ISA_DMA_API
  1154. # Select ISA DMA interface
  1155. config ISA_DMA_API
  1156. bool
  1157. config PCI
  1158. bool "PCI support" if MIGHT_HAVE_PCI
  1159. help
  1160. Find out whether you have a PCI motherboard. PCI is the name of a
  1161. bus system, i.e. the way the CPU talks to the other stuff inside
  1162. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  1163. VESA. If you have PCI, say Y, otherwise N.
  1164. config PCI_DOMAINS
  1165. bool
  1166. depends on PCI
  1167. config PCI_NANOENGINE
  1168. bool "BSE nanoEngine PCI support"
  1169. depends on SA1100_NANOENGINE
  1170. help
  1171. Enable PCI on the BSE nanoEngine board.
  1172. config PCI_SYSCALL
  1173. def_bool PCI
  1174. # Select the host bridge type
  1175. config PCI_HOST_VIA82C505
  1176. bool
  1177. depends on PCI && ARCH_SHARK
  1178. default y
  1179. config PCI_HOST_ITE8152
  1180. bool
  1181. depends on PCI && MACH_ARMCORE
  1182. default y
  1183. select DMABOUNCE
  1184. source "drivers/pci/Kconfig"
  1185. source "drivers/pcmcia/Kconfig"
  1186. endmenu
  1187. menu "Kernel Features"
  1188. source "kernel/time/Kconfig"
  1189. config SMP
  1190. bool "Symmetric Multi-Processing"
  1191. depends on CPU_V6K || CPU_V7
  1192. depends on GENERIC_CLOCKEVENTS
  1193. depends on REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP || \
  1194. MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || \
  1195. ARCH_EXYNOS4 || ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || \
  1196. ARCH_MSM_SCORPIONMP || ARCH_SHMOBILE
  1197. select USE_GENERIC_SMP_HELPERS
  1198. select HAVE_ARM_SCU if !ARCH_MSM_SCORPIONMP
  1199. help
  1200. This enables support for systems with more than one CPU. If you have
  1201. a system with only one CPU, like most personal computers, say N. If
  1202. you have a system with more than one CPU, say Y.
  1203. If you say N here, the kernel will run on single and multiprocessor
  1204. machines, but will use only one CPU of a multiprocessor machine. If
  1205. you say Y here, the kernel will run on many, but not all, single
  1206. processor machines. On a single processor machine, the kernel will
  1207. run faster if you say N here.
  1208. See also <file:Documentation/i386/IO-APIC.txt>,
  1209. <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
  1210. <http://tldp.org/HOWTO/SMP-HOWTO.html>.
  1211. If you don't know what to do here, say N.
  1212. config SMP_ON_UP
  1213. bool "Allow booting SMP kernel on uniprocessor systems (EXPERIMENTAL)"
  1214. depends on EXPERIMENTAL
  1215. depends on SMP && !XIP_KERNEL
  1216. default y
  1217. help
  1218. SMP kernels contain instructions which fail on non-SMP processors.
  1219. Enabling this option allows the kernel to modify itself to make
  1220. these instructions safe. Disabling it allows about 1K of space
  1221. savings.
  1222. If you don't know what to do here, say Y.
  1223. config HAVE_ARM_SCU
  1224. bool
  1225. help
  1226. This option enables support for the ARM system coherency unit
  1227. config HAVE_ARM_TWD
  1228. bool
  1229. depends on SMP
  1230. select TICK_ONESHOT
  1231. help
  1232. This options enables support for the ARM timer and watchdog unit
  1233. choice
  1234. prompt "Memory split"
  1235. default VMSPLIT_3G
  1236. help
  1237. Select the desired split between kernel and user memory.
  1238. If you are not absolutely sure what you are doing, leave this
  1239. option alone!
  1240. config VMSPLIT_3G
  1241. bool "3G/1G user/kernel split"
  1242. config VMSPLIT_2G
  1243. bool "2G/2G user/kernel split"
  1244. config VMSPLIT_1G
  1245. bool "1G/3G user/kernel split"
  1246. endchoice
  1247. config PAGE_OFFSET
  1248. hex
  1249. default 0x40000000 if VMSPLIT_1G
  1250. default 0x80000000 if VMSPLIT_2G
  1251. default 0xC0000000
  1252. config NR_CPUS
  1253. int "Maximum number of CPUs (2-32)"
  1254. range 2 32
  1255. depends on SMP
  1256. default "4"
  1257. config HOTPLUG_CPU
  1258. bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
  1259. depends on SMP && HOTPLUG && EXPERIMENTAL
  1260. help
  1261. Say Y here to experiment with turning CPUs off and on. CPUs
  1262. can be controlled through /sys/devices/system/cpu.
  1263. config LOCAL_TIMERS
  1264. bool "Use local timer interrupts"
  1265. depends on SMP
  1266. default y
  1267. select HAVE_ARM_TWD if (!ARCH_MSM_SCORPIONMP && !EXYNOS4_MCT)
  1268. help
  1269. Enable support for local timers on SMP platforms, rather then the
  1270. legacy IPI broadcast method. Local timers allows the system
  1271. accounting to be spread across the timer interval, preventing a
  1272. "thundering herd" at every timer tick.
  1273. source kernel/Kconfig.preempt
  1274. config HZ
  1275. int
  1276. default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P64X0 || \
  1277. ARCH_S5PV210 || ARCH_EXYNOS4
  1278. default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
  1279. default AT91_TIMER_HZ if ARCH_AT91
  1280. default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
  1281. default 100
  1282. config THUMB2_KERNEL
  1283. bool "Compile the kernel in Thumb-2 mode (EXPERIMENTAL)"
  1284. depends on CPU_V7 && !CPU_V6 && !CPU_V6K && EXPERIMENTAL
  1285. select AEABI
  1286. select ARM_ASM_UNIFIED
  1287. help
  1288. By enabling this option, the kernel will be compiled in
  1289. Thumb-2 mode. A compiler/assembler that understand the unified
  1290. ARM-Thumb syntax is needed.
  1291. If unsure, say N.
  1292. config THUMB2_AVOID_R_ARM_THM_JUMP11
  1293. bool "Work around buggy Thumb-2 short branch relocations in gas"
  1294. depends on THUMB2_KERNEL && MODULES
  1295. default y
  1296. help
  1297. Various binutils versions can resolve Thumb-2 branches to
  1298. locally-defined, preemptible global symbols as short-range "b.n"
  1299. branch instructions.
  1300. This is a problem, because there's no guarantee the final
  1301. destination of the symbol, or any candidate locations for a
  1302. trampoline, are within range of the branch. For this reason, the
  1303. kernel does not support fixing up the R_ARM_THM_JUMP11 (102)
  1304. relocation in modules at all, and it makes little sense to add
  1305. support.
  1306. The symptom is that the kernel fails with an "unsupported
  1307. relocation" error when loading some modules.
  1308. Until fixed tools are available, passing
  1309. -fno-optimize-sibling-calls to gcc should prevent gcc generating
  1310. code which hits this problem, at the cost of a bit of extra runtime
  1311. stack usage in some cases.
  1312. The problem is described in more detail at:
  1313. https://bugs.launchpad.net/binutils-linaro/+bug/725126
  1314. Only Thumb-2 kernels are affected.
  1315. Unless you are sure your tools don't have this problem, say Y.
  1316. config ARM_ASM_UNIFIED
  1317. bool
  1318. config AEABI
  1319. bool "Use the ARM EABI to compile the kernel"
  1320. help
  1321. This option allows for the kernel to be compiled using the latest
  1322. ARM ABI (aka EABI). This is only useful if you are using a user
  1323. space environment that is also compiled with EABI.
  1324. Since there are major incompatibilities between the legacy ABI and
  1325. EABI, especially with regard to structure member alignment, this
  1326. option also changes the kernel syscall calling convention to
  1327. disambiguate both ABIs and allow for backward compatibility support
  1328. (selected with CONFIG_OABI_COMPAT).
  1329. To use this you need GCC version 4.0.0 or later.
  1330. config OABI_COMPAT
  1331. bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
  1332. depends on AEABI && EXPERIMENTAL && !THUMB2_KERNEL
  1333. default y
  1334. help
  1335. This option preserves the old syscall interface along with the
  1336. new (ARM EABI) one. It also provides a compatibility layer to
  1337. intercept syscalls that have structure arguments which layout
  1338. in memory differs between the legacy ABI and the new ARM EABI
  1339. (only for non "thumb" binaries). This option adds a tiny
  1340. overhead to all syscalls and produces a slightly larger kernel.
  1341. If you know you'll be using only pure EABI user space then you
  1342. can say N here. If this option is not selected and you attempt
  1343. to execute a legacy ABI binary then the result will be
  1344. UNPREDICTABLE (in fact it can be predicted that it won't work
  1345. at all). If in doubt say Y.
  1346. config ARCH_HAS_HOLES_MEMORYMODEL
  1347. bool
  1348. config ARCH_SPARSEMEM_ENABLE
  1349. bool
  1350. config ARCH_SPARSEMEM_DEFAULT
  1351. def_bool ARCH_SPARSEMEM_ENABLE
  1352. config ARCH_SELECT_MEMORY_MODEL
  1353. def_bool ARCH_SPARSEMEM_ENABLE
  1354. config HAVE_ARCH_PFN_VALID
  1355. def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
  1356. config HIGHMEM
  1357. bool "High Memory Support"
  1358. depends on MMU
  1359. help
  1360. The address space of ARM processors is only 4 Gigabytes large
  1361. and it has to accommodate user address space, kernel address
  1362. space as well as some memory mapped IO. That means that, if you
  1363. have a large amount of physical memory and/or IO, not all of the
  1364. memory can be "permanently mapped" by the kernel. The physical
  1365. memory that is not permanently mapped is called "high memory".
  1366. Depending on the selected kernel/user memory split, minimum
  1367. vmalloc space and actual amount of RAM, you may not need this
  1368. option which should result in a slightly faster kernel.
  1369. If unsure, say n.
  1370. config HIGHPTE
  1371. bool "Allocate 2nd-level pagetables from highmem"
  1372. depends on HIGHMEM
  1373. config HW_PERF_EVENTS
  1374. bool "Enable hardware performance counter support for perf events"
  1375. depends on PERF_EVENTS && CPU_HAS_PMU
  1376. default y
  1377. help
  1378. Enable hardware performance counter support for perf events. If
  1379. disabled, perf events will use software events only.
  1380. source "mm/Kconfig"
  1381. config FORCE_MAX_ZONEORDER
  1382. int "Maximum zone order" if ARCH_SHMOBILE
  1383. range 11 64 if ARCH_SHMOBILE
  1384. default "9" if SA1111
  1385. default "11"
  1386. help
  1387. The kernel memory allocator divides physically contiguous memory
  1388. blocks into "zones", where each zone is a power of two number of
  1389. pages. This option selects the largest power of two that the kernel
  1390. keeps in the memory allocator. If you need to allocate very large
  1391. blocks of physically contiguous memory, then you may need to
  1392. increase this value.
  1393. This config option is actually maximum order plus one. For example,
  1394. a value of 11 means that the largest free memory block is 2^10 pages.
  1395. config LEDS
  1396. bool "Timer and CPU usage LEDs"
  1397. depends on ARCH_CDB89712 || ARCH_EBSA110 || \
  1398. ARCH_EBSA285 || ARCH_INTEGRATOR || \
  1399. ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
  1400. ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
  1401. ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
  1402. ARCH_AT91 || ARCH_DAVINCI || \
  1403. ARCH_KS8695 || MACH_RD88F5182 || ARCH_REALVIEW
  1404. help
  1405. If you say Y here, the LEDs on your machine will be used
  1406. to provide useful information about your current system status.
  1407. If you are compiling a kernel for a NetWinder or EBSA-285, you will
  1408. be able to select which LEDs are active using the options below. If
  1409. you are compiling a kernel for the EBSA-110 or the LART however, the
  1410. red LED will simply flash regularly to indicate that the system is
  1411. still functional. It is safe to say Y here if you have a CATS
  1412. system, but the driver will do nothing.
  1413. config LEDS_TIMER
  1414. bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
  1415. OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
  1416. || MACH_OMAP_PERSEUS2
  1417. depends on LEDS
  1418. depends on !GENERIC_CLOCKEVENTS
  1419. default y if ARCH_EBSA110
  1420. help
  1421. If you say Y here, one of the system LEDs (the green one on the
  1422. NetWinder, the amber one on the EBSA285, or the red one on the LART)
  1423. will flash regularly to indicate that the system is still
  1424. operational. This is mainly useful to kernel hackers who are
  1425. debugging unstable kernels.
  1426. The LART uses the same LED for both Timer LED and CPU usage LED
  1427. functions. You may choose to use both, but the Timer LED function
  1428. will overrule the CPU usage LED.
  1429. config LEDS_CPU
  1430. bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
  1431. !ARCH_OMAP) \
  1432. || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
  1433. || MACH_OMAP_PERSEUS2
  1434. depends on LEDS
  1435. help
  1436. If you say Y here, the red LED will be used to give a good real
  1437. time indication of CPU usage, by lighting whenever the idle task
  1438. is not currently executing.
  1439. The LART uses the same LED for both Timer LED and CPU usage LED
  1440. functions. You may choose to use both, but the Timer LED function
  1441. will overrule the CPU usage LED.
  1442. config ALIGNMENT_TRAP
  1443. bool
  1444. depends on CPU_CP15_MMU
  1445. default y if !ARCH_EBSA110
  1446. select HAVE_PROC_CPU if PROC_FS
  1447. help
  1448. ARM processors cannot fetch/store information which is not
  1449. naturally aligned on the bus, i.e., a 4 byte fetch must start at an
  1450. address divisible by 4. On 32-bit ARM processors, these non-aligned
  1451. fetch/store instructions will be emulated in software if you say
  1452. here, which has a severe performance impact. This is necessary for
  1453. correct operation of some network protocols. With an IP-only
  1454. configuration it is safe to say N, otherwise say Y.
  1455. config UACCESS_WITH_MEMCPY
  1456. bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)"
  1457. depends on MMU && EXPERIMENTAL
  1458. default y if CPU_FEROCEON
  1459. help
  1460. Implement faster copy_to_user and clear_user methods for CPU
  1461. cores where a 8-word STM instruction give significantly higher
  1462. memory write throughput than a sequence of individual 32bit stores.
  1463. A possible side effect is a slight increase in scheduling latency
  1464. between threads sharing the same address space if they invoke
  1465. such copy operations with large buffers.
  1466. However, if the CPU data cache is using a write-allocate mode,
  1467. this option is unlikely to provide any performance gain.
  1468. config SECCOMP
  1469. bool
  1470. prompt "Enable seccomp to safely compute untrusted bytecode"
  1471. ---help---
  1472. This kernel feature is useful for number crunching applications
  1473. that may need to compute untrusted bytecode during their
  1474. execution. By using pipes or other transports made available to
  1475. the process as file descriptors supporting the read/write
  1476. syscalls, it's possible to isolate those applications in
  1477. their own address space using seccomp. Once seccomp is
  1478. enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
  1479. and the task is only allowed to execute a few safe syscalls
  1480. defined by each seccomp mode.
  1481. config CC_STACKPROTECTOR
  1482. bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
  1483. depends on EXPERIMENTAL
  1484. help
  1485. This option turns on the -fstack-protector GCC feature. This
  1486. feature puts, at the beginning of functions, a canary value on
  1487. the stack just before the return address, and validates
  1488. the value just before actually returning. Stack based buffer
  1489. overflows (that need to overwrite this return address) now also
  1490. overwrite the canary, which gets detected and the attack is then
  1491. neutralized via a kernel panic.
  1492. This feature requires gcc version 4.2 or above.
  1493. config DEPRECATED_PARAM_STRUCT
  1494. bool "Provide old way to pass kernel parameters"
  1495. help
  1496. This was deprecated in 2001 and announced to live on for 5 years.
  1497. Some old boot loaders still use this way.
  1498. endmenu
  1499. menu "Boot options"
  1500. config USE_OF
  1501. bool "Flattened Device Tree support"
  1502. select OF
  1503. select OF_EARLY_FLATTREE
  1504. select IRQ_DOMAIN
  1505. help
  1506. Include support for flattened device tree machine descriptions.
  1507. # Compressed boot loader in ROM. Yes, we really want to ask about
  1508. # TEXT and BSS so we preserve their values in the config files.
  1509. config ZBOOT_ROM_TEXT
  1510. hex "Compressed ROM boot loader base address"
  1511. default "0"
  1512. help
  1513. The physical address at which the ROM-able zImage is to be
  1514. placed in the target. Platforms which normally make use of
  1515. ROM-able zImage formats normally set this to a suitable
  1516. value in their defconfig file.
  1517. If ZBOOT_ROM is not enabled, this has no effect.
  1518. config ZBOOT_ROM_BSS
  1519. hex "Compressed ROM boot loader BSS address"
  1520. default "0"
  1521. help
  1522. The base address of an area of read/write memory in the target
  1523. for the ROM-able zImage which must be available while the
  1524. decompressor is running. It must be large enough to hold the
  1525. entire decompressed kernel plus an additional 128 KiB.
  1526. Platforms which normally make use of ROM-able zImage formats
  1527. normally set this to a suitable value in their defconfig file.
  1528. If ZBOOT_ROM is not enabled, this has no effect.
  1529. config ZBOOT_ROM
  1530. bool "Compressed boot loader in ROM/flash"
  1531. depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
  1532. help
  1533. Say Y here if you intend to execute your compressed kernel image
  1534. (zImage) directly from ROM or flash. If unsure, say N.
  1535. choice
  1536. prompt "Include SD/MMC loader in zImage (EXPERIMENTAL)"
  1537. depends on ZBOOT_ROM && ARCH_SH7372 && EXPERIMENTAL
  1538. default ZBOOT_ROM_NONE
  1539. help
  1540. Include experimental SD/MMC loading code in the ROM-able zImage.
  1541. With this enabled it is possible to write the the ROM-able zImage
  1542. kernel image to an MMC or SD card and boot the kernel straight
  1543. from the reset vector. At reset the processor Mask ROM will load
  1544. the first part of the the ROM-able zImage which in turn loads the
  1545. rest the kernel image to RAM.
  1546. config ZBOOT_ROM_NONE
  1547. bool "No SD/MMC loader in zImage (EXPERIMENTAL)"
  1548. help
  1549. Do not load image from SD or MMC
  1550. config ZBOOT_ROM_MMCIF
  1551. bool "Include MMCIF loader in zImage (EXPERIMENTAL)"
  1552. help
  1553. Load image from MMCIF hardware block.
  1554. config ZBOOT_ROM_SH_MOBILE_SDHI
  1555. bool "Include SuperH Mobile SDHI loader in zImage (EXPERIMENTAL)"
  1556. help
  1557. Load image from SDHI hardware block
  1558. endchoice
  1559. config CMDLINE
  1560. string "Default kernel command string"
  1561. default ""
  1562. help
  1563. On some architectures (EBSA110 and CATS), there is currently no way
  1564. for the boot loader to pass arguments to the kernel. For these
  1565. architectures, you should supply some command-line options at build
  1566. time by entering them here. As a minimum, you should specify the
  1567. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  1568. choice
  1569. prompt "Kernel command line type" if CMDLINE != ""
  1570. default CMDLINE_FROM_BOOTLOADER
  1571. config CMDLINE_FROM_BOOTLOADER
  1572. bool "Use bootloader kernel arguments if available"
  1573. help
  1574. Uses the command-line options passed by the boot loader. If
  1575. the boot loader doesn't provide any, the default kernel command
  1576. string provided in CMDLINE will be used.
  1577. config CMDLINE_EXTEND
  1578. bool "Extend bootloader kernel arguments"
  1579. help
  1580. The command-line arguments provided by the boot loader will be
  1581. appended to the default kernel command string.
  1582. config CMDLINE_FORCE
  1583. bool "Always use the default kernel command string"
  1584. help
  1585. Always use the default kernel command string, even if the boot
  1586. loader passes other arguments to the kernel.
  1587. This is useful if you cannot or don't want to change the
  1588. command-line options your boot loader passes to the kernel.
  1589. endchoice
  1590. config XIP_KERNEL
  1591. bool "Kernel Execute-In-Place from ROM"
  1592. depends on !ZBOOT_ROM
  1593. help
  1594. Execute-In-Place allows the kernel to run from non-volatile storage
  1595. directly addressable by the CPU, such as NOR flash. This saves RAM
  1596. space since the text section of the kernel is not loaded from flash
  1597. to RAM. Read-write sections, such as the data section and stack,
  1598. are still copied to RAM. The XIP kernel is not compressed since
  1599. it has to run directly from flash, so it will take more space to
  1600. store it. The flash address used to link the kernel object files,
  1601. and for storing it, is configuration dependent. Therefore, if you
  1602. say Y here, you must know the proper physical address where to
  1603. store the kernel image depending on your own flash memory usage.
  1604. Also note that the make target becomes "make xipImage" rather than
  1605. "make zImage" or "make Image". The final kernel binary to put in
  1606. ROM memory will be arch/arm/boot/xipImage.
  1607. If unsure, say N.
  1608. config XIP_PHYS_ADDR
  1609. hex "XIP Kernel Physical Location"
  1610. depends on XIP_KERNEL
  1611. default "0x00080000"
  1612. help
  1613. This is the physical address in your flash memory the kernel will
  1614. be linked for and stored to. This address is dependent on your
  1615. own flash usage.
  1616. config KEXEC
  1617. bool "Kexec system call (EXPERIMENTAL)"
  1618. depends on EXPERIMENTAL
  1619. help
  1620. kexec is a system call that implements the ability to shutdown your
  1621. current kernel, and to start another kernel. It is like a reboot
  1622. but it is independent of the system firmware. And like a reboot
  1623. you can start any kernel with it, not just Linux.
  1624. It is an ongoing process to be certain the hardware in a machine
  1625. is properly shutdown, so do not be surprised if this code does not
  1626. initially work for you. It may help to enable device hotplugging
  1627. support.
  1628. config ATAGS_PROC
  1629. bool "Export atags in procfs"
  1630. depends on KEXEC
  1631. default y
  1632. help
  1633. Should the atags used to boot the kernel be exported in an "atags"
  1634. file in procfs. Useful with kexec.
  1635. config CRASH_DUMP
  1636. bool "Build kdump crash kernel (EXPERIMENTAL)"
  1637. depends on EXPERIMENTAL
  1638. help
  1639. Generate crash dump after being started by kexec. This should
  1640. be normally only set in special crash dump kernels which are
  1641. loaded in the main kernel with kexec-tools into a specially
  1642. reserved region and then later executed after a crash by
  1643. kdump/kexec. The crash dump kernel must be compiled to a
  1644. memory address not used by the main kernel
  1645. For more details see Documentation/kdump/kdump.txt
  1646. config AUTO_ZRELADDR
  1647. bool "Auto calculation of the decompressed kernel image address"
  1648. depends on !ZBOOT_ROM && !ARCH_U300
  1649. help
  1650. ZRELADDR is the physical address where the decompressed kernel
  1651. image will be placed. If AUTO_ZRELADDR is selected, the address
  1652. will be determined at run-time by masking the current IP with
  1653. 0xf8000000. This assumes the zImage being placed in the first 128MB
  1654. from start of memory.
  1655. endmenu
  1656. menu "CPU Power Management"
  1657. if ARCH_HAS_CPUFREQ
  1658. source "drivers/cpufreq/Kconfig"
  1659. config CPU_FREQ_IMX
  1660. tristate "CPUfreq driver for i.MX CPUs"
  1661. depends on ARCH_MXC && CPU_FREQ
  1662. help
  1663. This enables the CPUfreq driver for i.MX CPUs.
  1664. config CPU_FREQ_SA1100
  1665. bool
  1666. config CPU_FREQ_SA1110
  1667. bool
  1668. config CPU_FREQ_INTEGRATOR
  1669. tristate "CPUfreq driver for ARM Integrator CPUs"
  1670. depends on ARCH_INTEGRATOR && CPU_FREQ
  1671. default y
  1672. help
  1673. This enables the CPUfreq driver for ARM Integrator CPUs.
  1674. For details, take a look at <file:Documentation/cpu-freq>.
  1675. If in doubt, say Y.
  1676. config CPU_FREQ_PXA
  1677. bool
  1678. depends on CPU_FREQ && ARCH_PXA && PXA25x
  1679. default y
  1680. select CPU_FREQ_TABLE
  1681. select CPU_FREQ_DEFAULT_GOV_USERSPACE
  1682. config CPU_FREQ_S3C
  1683. bool
  1684. help
  1685. Internal configuration node for common cpufreq on Samsung SoC
  1686. config CPU_FREQ_S3C24XX
  1687. bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
  1688. depends on ARCH_S3C2410 && CPU_FREQ && EXPERIMENTAL
  1689. select CPU_FREQ_S3C
  1690. help
  1691. This enables the CPUfreq driver for the Samsung S3C24XX family
  1692. of CPUs.
  1693. For details, take a look at <file:Documentation/cpu-freq>.
  1694. If in doubt, say N.
  1695. config CPU_FREQ_S3C24XX_PLL
  1696. bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
  1697. depends on CPU_FREQ_S3C24XX && EXPERIMENTAL
  1698. help
  1699. Compile in support for changing the PLL frequency from the
  1700. S3C24XX series CPUfreq driver. The PLL takes time to settle
  1701. after a frequency change, so by default it is not enabled.
  1702. This also means that the PLL tables for the selected CPU(s) will
  1703. be built which may increase the size of the kernel image.
  1704. config CPU_FREQ_S3C24XX_DEBUG
  1705. bool "Debug CPUfreq Samsung driver core"
  1706. depends on CPU_FREQ_S3C24XX
  1707. help
  1708. Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
  1709. config CPU_FREQ_S3C24XX_IODEBUG
  1710. bool "Debug CPUfreq Samsung driver IO timing"
  1711. depends on CPU_FREQ_S3C24XX
  1712. help
  1713. Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
  1714. config CPU_FREQ_S3C24XX_DEBUGFS
  1715. bool "Export debugfs for CPUFreq"
  1716. depends on CPU_FREQ_S3C24XX && DEBUG_FS
  1717. help
  1718. Export status information via debugfs.
  1719. endif
  1720. source "drivers/cpuidle/Kconfig"
  1721. endmenu
  1722. menu "Floating point emulation"
  1723. comment "At least one emulation must be selected"
  1724. config FPE_NWFPE
  1725. bool "NWFPE math emulation"
  1726. depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
  1727. ---help---
  1728. Say Y to include the NWFPE floating point emulator in the kernel.
  1729. This is necessary to run most binaries. Linux does not currently
  1730. support floating point hardware so you need to say Y here even if
  1731. your machine has an FPA or floating point co-processor podule.
  1732. You may say N here if you are going to load the Acorn FPEmulator
  1733. early in the bootup.
  1734. config FPE_NWFPE_XP
  1735. bool "Support extended precision"
  1736. depends on FPE_NWFPE
  1737. help
  1738. Say Y to include 80-bit support in the kernel floating-point
  1739. emulator. Otherwise, only 32 and 64-bit support is compiled in.
  1740. Note that gcc does not generate 80-bit operations by default,
  1741. so in most cases this option only enlarges the size of the
  1742. floating point emulator without any good reason.
  1743. You almost surely want to say N here.
  1744. config FPE_FASTFPE
  1745. bool "FastFPE math emulation (EXPERIMENTAL)"
  1746. depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
  1747. ---help---
  1748. Say Y here to include the FAST floating point emulator in the kernel.
  1749. This is an experimental much faster emulator which now also has full
  1750. precision for the mantissa. It does not support any exceptions.
  1751. It is very simple, and approximately 3-6 times faster than NWFPE.
  1752. It should be sufficient for most programs. It may be not suitable
  1753. for scientific calculations, but you have to check this for yourself.
  1754. If you do not feel you need a faster FP emulation you should better
  1755. choose NWFPE.
  1756. config VFP
  1757. bool "VFP-format floating point maths"
  1758. depends on CPU_V6 || CPU_V6K || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
  1759. help
  1760. Say Y to include VFP support code in the kernel. This is needed
  1761. if your hardware includes a VFP unit.
  1762. Please see <file:Documentation/arm/VFP/release-notes.txt> for
  1763. release notes and additional status information.
  1764. Say N if your target does not have VFP hardware.
  1765. config VFPv3
  1766. bool
  1767. depends on VFP
  1768. default y if CPU_V7
  1769. config NEON
  1770. bool "Advanced SIMD (NEON) Extension support"
  1771. depends on VFPv3 && CPU_V7
  1772. help
  1773. Say Y to include support code for NEON, the ARMv7 Advanced SIMD
  1774. Extension.
  1775. endmenu
  1776. menu "Userspace binary formats"
  1777. source "fs/Kconfig.binfmt"
  1778. config ARTHUR
  1779. tristate "RISC OS personality"
  1780. depends on !AEABI
  1781. help
  1782. Say Y here to include the kernel code necessary if you want to run
  1783. Acorn RISC OS/Arthur binaries under Linux. This code is still very
  1784. experimental; if this sounds frightening, say N and sleep in peace.
  1785. You can also say M here to compile this support as a module (which
  1786. will be called arthur).
  1787. endmenu
  1788. menu "Power management options"
  1789. source "kernel/power/Kconfig"
  1790. config ARCH_SUSPEND_POSSIBLE
  1791. depends on !ARCH_S5P64X0 && !ARCH_S5PC100
  1792. depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \
  1793. CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE
  1794. def_bool y
  1795. endmenu
  1796. source "net/Kconfig"
  1797. source "drivers/Kconfig"
  1798. source "fs/Kconfig"
  1799. source "arch/arm/Kconfig.debug"
  1800. source "security/Kconfig"
  1801. source "crypto/Kconfig"
  1802. source "lib/Kconfig"