Kconfig 61 KB

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