Kconfig 65 KB

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