Kconfig 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558
  1. config MIPS
  2. bool
  3. default y
  4. select HAVE_GENERIC_DMA_COHERENT
  5. select HAVE_IDE
  6. select HAVE_OPROFILE
  7. select HAVE_PERF_EVENTS
  8. select PERF_USE_VMALLOC
  9. select HAVE_ARCH_KGDB
  10. select ARCH_HAVE_CUSTOM_GPIO_H
  11. select HAVE_FUNCTION_TRACER
  12. select HAVE_FUNCTION_TRACE_MCOUNT_TEST
  13. select HAVE_DYNAMIC_FTRACE
  14. select HAVE_FTRACE_MCOUNT_RECORD
  15. select HAVE_C_RECORDMCOUNT
  16. select HAVE_FUNCTION_GRAPH_TRACER
  17. select HAVE_KPROBES
  18. select HAVE_KRETPROBES
  19. select HAVE_DEBUG_KMEMLEAK
  20. select ARCH_BINFMT_ELF_RANDOMIZE_PIE
  21. select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES && 64BIT
  22. select RTC_LIB if !MACH_LOONGSON
  23. select GENERIC_ATOMIC64 if !64BIT
  24. select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
  25. select HAVE_DMA_ATTRS
  26. select HAVE_DMA_API_DEBUG
  27. select HAVE_GENERIC_HARDIRQS
  28. select GENERIC_IRQ_PROBE
  29. select GENERIC_IRQ_SHOW
  30. select HAVE_ARCH_JUMP_LABEL
  31. select ARCH_WANT_IPC_PARSE_VERSION
  32. select IRQ_FORCED_THREADING
  33. select HAVE_MEMBLOCK
  34. select HAVE_MEMBLOCK_NODE_MAP
  35. select ARCH_DISCARD_MEMBLOCK
  36. select GENERIC_SMP_IDLE_THREAD
  37. select GENERIC_IDLE_LOOP
  38. select BUILDTIME_EXTABLE_SORT
  39. select GENERIC_CLOCKEVENTS
  40. select GENERIC_CMOS_UPDATE
  41. select HAVE_MOD_ARCH_SPECIFIC
  42. select VIRT_TO_BUS
  43. select MODULES_USE_ELF_REL if MODULES
  44. select MODULES_USE_ELF_RELA if MODULES && 64BIT
  45. select CLONE_BACKWARDS
  46. menu "Machine selection"
  47. config ZONE_DMA
  48. bool
  49. choice
  50. prompt "System type"
  51. default SGI_IP22
  52. config MIPS_ALCHEMY
  53. bool "Alchemy processor based machines"
  54. select 64BIT_PHYS_ADDR
  55. select CEVT_R4K
  56. select CSRC_R4K
  57. select IRQ_CPU
  58. select SYS_HAS_CPU_MIPS32_R1
  59. select SYS_SUPPORTS_32BIT_KERNEL
  60. select SYS_SUPPORTS_APM_EMULATION
  61. select GENERIC_GPIO
  62. select ARCH_WANT_OPTIONAL_GPIOLIB
  63. select SYS_SUPPORTS_ZBOOT
  64. select USB_ARCH_HAS_OHCI
  65. select USB_ARCH_HAS_EHCI
  66. config AR7
  67. bool "Texas Instruments AR7"
  68. select BOOT_ELF32
  69. select DMA_NONCOHERENT
  70. select CEVT_R4K
  71. select CSRC_R4K
  72. select IRQ_CPU
  73. select NO_EXCEPT_FILL
  74. select SWAP_IO_SPACE
  75. select SYS_HAS_CPU_MIPS32_R1
  76. select SYS_HAS_EARLY_PRINTK
  77. select SYS_SUPPORTS_32BIT_KERNEL
  78. select SYS_SUPPORTS_LITTLE_ENDIAN
  79. select SYS_SUPPORTS_ZBOOT_UART16550
  80. select ARCH_REQUIRE_GPIOLIB
  81. select VLYNQ
  82. select HAVE_CLK
  83. help
  84. Support for the Texas Instruments AR7 System-on-a-Chip
  85. family: TNETD7100, 7200 and 7300.
  86. config ATH79
  87. bool "Atheros AR71XX/AR724X/AR913X based boards"
  88. select ARCH_REQUIRE_GPIOLIB
  89. select BOOT_RAW
  90. select CEVT_R4K
  91. select CSRC_R4K
  92. select DMA_NONCOHERENT
  93. select HAVE_CLK
  94. select IRQ_CPU
  95. select MIPS_MACHINE
  96. select SYS_HAS_CPU_MIPS32_R2
  97. select SYS_HAS_EARLY_PRINTK
  98. select SYS_SUPPORTS_32BIT_KERNEL
  99. select SYS_SUPPORTS_BIG_ENDIAN
  100. help
  101. Support for the Atheros AR71XX/AR724X/AR913X SoCs.
  102. config BCM47XX
  103. bool "Broadcom BCM47XX based boards"
  104. select ARCH_WANT_OPTIONAL_GPIOLIB
  105. select BOOT_RAW
  106. select CEVT_R4K
  107. select CSRC_R4K
  108. select DMA_NONCOHERENT
  109. select FW_CFE
  110. select HW_HAS_PCI
  111. select IRQ_CPU
  112. select NO_EXCEPT_FILL
  113. select SYS_SUPPORTS_32BIT_KERNEL
  114. select SYS_SUPPORTS_LITTLE_ENDIAN
  115. select SYS_HAS_EARLY_PRINTK
  116. help
  117. Support for BCM47XX based boards
  118. config BCM63XX
  119. bool "Broadcom BCM63XX based boards"
  120. select CEVT_R4K
  121. select CSRC_R4K
  122. select DMA_NONCOHERENT
  123. select IRQ_CPU
  124. select SYS_HAS_CPU_MIPS32_R1
  125. select SYS_SUPPORTS_32BIT_KERNEL
  126. select SYS_SUPPORTS_BIG_ENDIAN
  127. select SYS_HAS_EARLY_PRINTK
  128. select SWAP_IO_SPACE
  129. select ARCH_REQUIRE_GPIOLIB
  130. select HAVE_CLK
  131. help
  132. Support for BCM63XX based boards
  133. config MIPS_COBALT
  134. bool "Cobalt Server"
  135. select CEVT_R4K
  136. select CSRC_R4K
  137. select CEVT_GT641XX
  138. select DMA_NONCOHERENT
  139. select HW_HAS_PCI
  140. select I8253
  141. select I8259
  142. select IRQ_CPU
  143. select IRQ_GT641XX
  144. select PCI_GT64XXX_PCI0
  145. select PCI
  146. select SYS_HAS_CPU_NEVADA
  147. select SYS_HAS_EARLY_PRINTK
  148. select SYS_SUPPORTS_32BIT_KERNEL
  149. select SYS_SUPPORTS_64BIT_KERNEL
  150. select SYS_SUPPORTS_LITTLE_ENDIAN
  151. config MACH_DECSTATION
  152. bool "DECstations"
  153. select BOOT_ELF32
  154. select CEVT_DS1287
  155. select CEVT_R4K
  156. select CSRC_IOASIC
  157. select CSRC_R4K
  158. select CPU_DADDI_WORKAROUNDS if 64BIT
  159. select CPU_R4000_WORKAROUNDS if 64BIT
  160. select CPU_R4400_WORKAROUNDS if 64BIT
  161. select DMA_NONCOHERENT
  162. select NO_IOPORT
  163. select IRQ_CPU
  164. select SYS_HAS_CPU_R3000
  165. select SYS_HAS_CPU_R4X00
  166. select SYS_SUPPORTS_32BIT_KERNEL
  167. select SYS_SUPPORTS_64BIT_KERNEL
  168. select SYS_SUPPORTS_LITTLE_ENDIAN
  169. select SYS_SUPPORTS_128HZ
  170. select SYS_SUPPORTS_256HZ
  171. select SYS_SUPPORTS_1024HZ
  172. help
  173. This enables support for DEC's MIPS based workstations. For details
  174. see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
  175. DECstation porting pages on <http://decstation.unix-ag.org/>.
  176. If you have one of the following DECstation Models you definitely
  177. want to choose R4xx0 for the CPU Type:
  178. DECstation 5000/50
  179. DECstation 5000/150
  180. DECstation 5000/260
  181. DECsystem 5900/260
  182. otherwise choose R3000.
  183. config MACH_JAZZ
  184. bool "Jazz family of machines"
  185. select FW_ARC
  186. select FW_ARC32
  187. select ARCH_MAY_HAVE_PC_FDC
  188. select CEVT_R4K
  189. select CSRC_R4K
  190. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  191. select GENERIC_ISA_DMA
  192. select HAVE_PCSPKR_PLATFORM
  193. select IRQ_CPU
  194. select I8253
  195. select I8259
  196. select ISA
  197. select SYS_HAS_CPU_R4X00
  198. select SYS_SUPPORTS_32BIT_KERNEL
  199. select SYS_SUPPORTS_64BIT_KERNEL
  200. select SYS_SUPPORTS_100HZ
  201. help
  202. This a family of machines based on the MIPS R4030 chipset which was
  203. used by several vendors to build RISC/os and Windows NT workstations.
  204. Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
  205. Olivetti M700-10 workstations.
  206. config MACH_JZ4740
  207. bool "Ingenic JZ4740 based machines"
  208. select SYS_HAS_CPU_MIPS32_R1
  209. select SYS_SUPPORTS_32BIT_KERNEL
  210. select SYS_SUPPORTS_LITTLE_ENDIAN
  211. select SYS_SUPPORTS_ZBOOT_UART16550
  212. select DMA_NONCOHERENT
  213. select IRQ_CPU
  214. select GENERIC_GPIO
  215. select ARCH_REQUIRE_GPIOLIB
  216. select SYS_HAS_EARLY_PRINTK
  217. select HAVE_PWM
  218. select HAVE_CLK
  219. select GENERIC_IRQ_CHIP
  220. config LANTIQ
  221. bool "Lantiq based platforms"
  222. select DMA_NONCOHERENT
  223. select IRQ_CPU
  224. select CEVT_R4K
  225. select CSRC_R4K
  226. select SYS_HAS_CPU_MIPS32_R1
  227. select SYS_HAS_CPU_MIPS32_R2
  228. select SYS_SUPPORTS_BIG_ENDIAN
  229. select SYS_SUPPORTS_32BIT_KERNEL
  230. select SYS_SUPPORTS_MULTITHREADING
  231. select SYS_HAS_EARLY_PRINTK
  232. select ARCH_REQUIRE_GPIOLIB
  233. select SWAP_IO_SPACE
  234. select BOOT_RAW
  235. select HAVE_MACH_CLKDEV
  236. select CLKDEV_LOOKUP
  237. select USE_OF
  238. select PINCTRL
  239. select PINCTRL_LANTIQ
  240. config LASAT
  241. bool "LASAT Networks platforms"
  242. select CEVT_R4K
  243. select CSRC_R4K
  244. select DMA_NONCOHERENT
  245. select SYS_HAS_EARLY_PRINTK
  246. select HW_HAS_PCI
  247. select IRQ_CPU
  248. select PCI_GT64XXX_PCI0
  249. select MIPS_NILE4
  250. select R5000_CPU_SCACHE
  251. select SYS_HAS_CPU_R5000
  252. select SYS_SUPPORTS_32BIT_KERNEL
  253. select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
  254. select SYS_SUPPORTS_LITTLE_ENDIAN
  255. config MACH_LOONGSON
  256. bool "Loongson family of machines"
  257. select SYS_SUPPORTS_ZBOOT
  258. help
  259. This enables the support of Loongson family of machines.
  260. Loongson is a family of general-purpose MIPS-compatible CPUs.
  261. developed at Institute of Computing Technology (ICT),
  262. Chinese Academy of Sciences (CAS) in the People's Republic
  263. of China. The chief architect is Professor Weiwu Hu.
  264. config MACH_LOONGSON1
  265. bool "Loongson 1 family of machines"
  266. select SYS_SUPPORTS_ZBOOT
  267. help
  268. This enables support for the Loongson 1 based machines.
  269. Loongson 1 is a family of 32-bit MIPS-compatible SoCs developed by
  270. the ICT (Institute of Computing Technology) and the Chinese Academy
  271. of Sciences.
  272. config MIPS_MALTA
  273. bool "MIPS Malta board"
  274. select ARCH_MAY_HAVE_PC_FDC
  275. select BOOT_ELF32
  276. select BOOT_RAW
  277. select CEVT_R4K
  278. select CSRC_R4K
  279. select CSRC_GIC
  280. select DMA_NONCOHERENT
  281. select GENERIC_ISA_DMA
  282. select HAVE_PCSPKR_PLATFORM
  283. select IRQ_CPU
  284. select IRQ_GIC
  285. select HW_HAS_PCI
  286. select I8253
  287. select I8259
  288. select MIPS_BOARDS_GEN
  289. select MIPS_BONITO64
  290. select MIPS_CPU_SCACHE
  291. select PCI_GT64XXX_PCI0
  292. select MIPS_MSC
  293. select SWAP_IO_SPACE
  294. select SYS_HAS_CPU_MIPS32_R1
  295. select SYS_HAS_CPU_MIPS32_R2
  296. select SYS_HAS_CPU_MIPS64_R1
  297. select SYS_HAS_CPU_MIPS64_R2
  298. select SYS_HAS_CPU_NEVADA
  299. select SYS_HAS_CPU_RM7000
  300. select SYS_HAS_EARLY_PRINTK
  301. select SYS_SUPPORTS_32BIT_KERNEL
  302. select SYS_SUPPORTS_64BIT_KERNEL
  303. select SYS_SUPPORTS_BIG_ENDIAN
  304. select SYS_SUPPORTS_LITTLE_ENDIAN
  305. select SYS_SUPPORTS_MIPS_CMP
  306. select SYS_SUPPORTS_MULTITHREADING
  307. select SYS_SUPPORTS_SMARTMIPS
  308. select SYS_SUPPORTS_ZBOOT
  309. help
  310. This enables support for the MIPS Technologies Malta evaluation
  311. board.
  312. config MIPS_SEAD3
  313. bool "MIPS SEAD3 board"
  314. select BOOT_ELF32
  315. select BOOT_RAW
  316. select CEVT_R4K
  317. select CSRC_R4K
  318. select CPU_MIPSR2_IRQ_VI
  319. select CPU_MIPSR2_IRQ_EI
  320. select DMA_NONCOHERENT
  321. select IRQ_CPU
  322. select IRQ_GIC
  323. select MIPS_BOARDS_GEN
  324. select MIPS_CPU_SCACHE
  325. select MIPS_MSC
  326. select SYS_HAS_CPU_MIPS32_R1
  327. select SYS_HAS_CPU_MIPS32_R2
  328. select SYS_HAS_CPU_MIPS64_R1
  329. select SYS_HAS_EARLY_PRINTK
  330. select SYS_SUPPORTS_32BIT_KERNEL
  331. select SYS_SUPPORTS_64BIT_KERNEL
  332. select SYS_SUPPORTS_BIG_ENDIAN
  333. select SYS_SUPPORTS_LITTLE_ENDIAN
  334. select SYS_SUPPORTS_SMARTMIPS
  335. select USB_ARCH_HAS_EHCI
  336. select USB_EHCI_BIG_ENDIAN_DESC
  337. select USB_EHCI_BIG_ENDIAN_MMIO
  338. select USE_OF
  339. help
  340. This enables support for the MIPS Technologies SEAD3 evaluation
  341. board.
  342. config NEC_MARKEINS
  343. bool "NEC EMMA2RH Mark-eins board"
  344. select SOC_EMMA2RH
  345. select HW_HAS_PCI
  346. help
  347. This enables support for the NEC Electronics Mark-eins boards.
  348. config MACH_VR41XX
  349. bool "NEC VR4100 series based machines"
  350. select CEVT_R4K
  351. select CSRC_R4K
  352. select SYS_HAS_CPU_VR41XX
  353. select ARCH_REQUIRE_GPIOLIB
  354. config NXP_STB220
  355. bool "NXP STB220 board"
  356. select SOC_PNX833X
  357. help
  358. Support for NXP Semiconductors STB220 Development Board.
  359. config NXP_STB225
  360. bool "NXP 225 board"
  361. select SOC_PNX833X
  362. select SOC_PNX8335
  363. help
  364. Support for NXP Semiconductors STB225 Development Board.
  365. config PMC_MSP
  366. bool "PMC-Sierra MSP chipsets"
  367. select CEVT_R4K
  368. select CSRC_R4K
  369. select DMA_NONCOHERENT
  370. select SWAP_IO_SPACE
  371. select NO_EXCEPT_FILL
  372. select BOOT_RAW
  373. select SYS_HAS_CPU_MIPS32_R1
  374. select SYS_HAS_CPU_MIPS32_R2
  375. select SYS_SUPPORTS_32BIT_KERNEL
  376. select SYS_SUPPORTS_BIG_ENDIAN
  377. select IRQ_CPU
  378. select SERIAL_8250
  379. select SERIAL_8250_CONSOLE
  380. help
  381. This adds support for the PMC-Sierra family of Multi-Service
  382. Processor System-On-A-Chips. These parts include a number
  383. of integrated peripherals, interfaces and DSPs in addition to
  384. a variety of MIPS cores.
  385. config POWERTV
  386. bool "Cisco PowerTV"
  387. select BOOT_ELF32
  388. select CEVT_R4K
  389. select CPU_MIPSR2_IRQ_VI
  390. select CPU_MIPSR2_IRQ_EI
  391. select CSRC_POWERTV
  392. select DMA_NONCOHERENT
  393. select HW_HAS_PCI
  394. select SYS_HAS_EARLY_PRINTK
  395. select SYS_HAS_CPU_MIPS32_R2
  396. select SYS_SUPPORTS_32BIT_KERNEL
  397. select SYS_SUPPORTS_BIG_ENDIAN
  398. select SYS_SUPPORTS_HIGHMEM
  399. select USB_OHCI_LITTLE_ENDIAN
  400. help
  401. This enables support for the Cisco PowerTV Platform.
  402. config RALINK
  403. bool "Ralink based machines"
  404. select CEVT_R4K
  405. select CSRC_R4K
  406. select BOOT_RAW
  407. select DMA_NONCOHERENT
  408. select IRQ_CPU
  409. select USE_OF
  410. select SYS_HAS_CPU_MIPS32_R1
  411. select SYS_HAS_CPU_MIPS32_R2
  412. select SYS_SUPPORTS_32BIT_KERNEL
  413. select SYS_SUPPORTS_LITTLE_ENDIAN
  414. select SYS_HAS_EARLY_PRINTK
  415. select HAVE_MACH_CLKDEV
  416. select CLKDEV_LOOKUP
  417. config SGI_IP22
  418. bool "SGI IP22 (Indy/Indigo2)"
  419. select FW_ARC
  420. select FW_ARC32
  421. select BOOT_ELF32
  422. select CEVT_R4K
  423. select CSRC_R4K
  424. select DEFAULT_SGI_PARTITION
  425. select DMA_NONCOHERENT
  426. select HW_HAS_EISA
  427. select I8253
  428. select I8259
  429. select IP22_CPU_SCACHE
  430. select IRQ_CPU
  431. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  432. select SGI_HAS_I8042
  433. select SGI_HAS_INDYDOG
  434. select SGI_HAS_HAL2
  435. select SGI_HAS_SEEQ
  436. select SGI_HAS_WD93
  437. select SGI_HAS_ZILOG
  438. select SWAP_IO_SPACE
  439. select SYS_HAS_CPU_R4X00
  440. select SYS_HAS_CPU_R5000
  441. #
  442. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  443. # memory during early boot on some machines.
  444. #
  445. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  446. # for a more details discussion
  447. #
  448. # select SYS_HAS_EARLY_PRINTK
  449. select SYS_SUPPORTS_32BIT_KERNEL
  450. select SYS_SUPPORTS_64BIT_KERNEL
  451. select SYS_SUPPORTS_BIG_ENDIAN
  452. help
  453. This are the SGI Indy, Challenge S and Indigo2, as well as certain
  454. OEM variants like the Tandem CMN B006S. To compile a Linux kernel
  455. that runs on these, say Y here.
  456. config SGI_IP27
  457. bool "SGI IP27 (Origin200/2000)"
  458. select FW_ARC
  459. select FW_ARC64
  460. select BOOT_ELF64
  461. select DEFAULT_SGI_PARTITION
  462. select DMA_COHERENT
  463. select SYS_HAS_EARLY_PRINTK
  464. select HW_HAS_PCI
  465. select NR_CPUS_DEFAULT_64
  466. select SYS_HAS_CPU_R10000
  467. select SYS_SUPPORTS_64BIT_KERNEL
  468. select SYS_SUPPORTS_BIG_ENDIAN
  469. select SYS_SUPPORTS_NUMA
  470. select SYS_SUPPORTS_SMP
  471. help
  472. This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
  473. workstations. To compile a Linux kernel that runs on these, say Y
  474. here.
  475. config SGI_IP28
  476. bool "SGI IP28 (Indigo2 R10k)"
  477. select FW_ARC
  478. select FW_ARC64
  479. select BOOT_ELF64
  480. select CEVT_R4K
  481. select CSRC_R4K
  482. select DEFAULT_SGI_PARTITION
  483. select DMA_NONCOHERENT
  484. select GENERIC_ISA_DMA_SUPPORT_BROKEN
  485. select IRQ_CPU
  486. select HW_HAS_EISA
  487. select I8253
  488. select I8259
  489. select SGI_HAS_I8042
  490. select SGI_HAS_INDYDOG
  491. select SGI_HAS_HAL2
  492. select SGI_HAS_SEEQ
  493. select SGI_HAS_WD93
  494. select SGI_HAS_ZILOG
  495. select SWAP_IO_SPACE
  496. select SYS_HAS_CPU_R10000
  497. #
  498. # Disable EARLY_PRINTK for now since it leads to overwritten prom
  499. # memory during early boot on some machines.
  500. #
  501. # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  502. # for a more details discussion
  503. #
  504. # select SYS_HAS_EARLY_PRINTK
  505. select SYS_SUPPORTS_64BIT_KERNEL
  506. select SYS_SUPPORTS_BIG_ENDIAN
  507. help
  508. This is the SGI Indigo2 with R10000 processor. To compile a Linux
  509. kernel that runs on these, say Y here.
  510. config SGI_IP32
  511. bool "SGI IP32 (O2)"
  512. select FW_ARC
  513. select FW_ARC32
  514. select BOOT_ELF32
  515. select CEVT_R4K
  516. select CSRC_R4K
  517. select DMA_NONCOHERENT
  518. select HW_HAS_PCI
  519. select IRQ_CPU
  520. select R5000_CPU_SCACHE
  521. select RM7000_CPU_SCACHE
  522. select SYS_HAS_CPU_R5000
  523. select SYS_HAS_CPU_R10000 if BROKEN
  524. select SYS_HAS_CPU_RM7000
  525. select SYS_HAS_CPU_NEVADA
  526. select SYS_SUPPORTS_64BIT_KERNEL
  527. select SYS_SUPPORTS_BIG_ENDIAN
  528. help
  529. If you want this kernel to run on SGI O2 workstation, say Y here.
  530. config SIBYTE_CRHINE
  531. bool "Sibyte BCM91120C-CRhine"
  532. select BOOT_ELF32
  533. select DMA_COHERENT
  534. select SIBYTE_BCM1120
  535. select SWAP_IO_SPACE
  536. select SYS_HAS_CPU_SB1
  537. select SYS_SUPPORTS_BIG_ENDIAN
  538. select SYS_SUPPORTS_LITTLE_ENDIAN
  539. config SIBYTE_CARMEL
  540. bool "Sibyte BCM91120x-Carmel"
  541. select BOOT_ELF32
  542. select DMA_COHERENT
  543. select SIBYTE_BCM1120
  544. select SWAP_IO_SPACE
  545. select SYS_HAS_CPU_SB1
  546. select SYS_SUPPORTS_BIG_ENDIAN
  547. select SYS_SUPPORTS_LITTLE_ENDIAN
  548. config SIBYTE_CRHONE
  549. bool "Sibyte BCM91125C-CRhone"
  550. select BOOT_ELF32
  551. select DMA_COHERENT
  552. select SIBYTE_BCM1125
  553. select SWAP_IO_SPACE
  554. select SYS_HAS_CPU_SB1
  555. select SYS_SUPPORTS_BIG_ENDIAN
  556. select SYS_SUPPORTS_HIGHMEM
  557. select SYS_SUPPORTS_LITTLE_ENDIAN
  558. config SIBYTE_RHONE
  559. bool "Sibyte BCM91125E-Rhone"
  560. select BOOT_ELF32
  561. select DMA_COHERENT
  562. select SIBYTE_BCM1125H
  563. select SWAP_IO_SPACE
  564. select SYS_HAS_CPU_SB1
  565. select SYS_SUPPORTS_BIG_ENDIAN
  566. select SYS_SUPPORTS_LITTLE_ENDIAN
  567. config SIBYTE_SWARM
  568. bool "Sibyte BCM91250A-SWARM"
  569. select BOOT_ELF32
  570. select DMA_COHERENT
  571. select HAVE_PATA_PLATFORM
  572. select NR_CPUS_DEFAULT_2
  573. select SIBYTE_SB1250
  574. select SWAP_IO_SPACE
  575. select SYS_HAS_CPU_SB1
  576. select SYS_SUPPORTS_BIG_ENDIAN
  577. select SYS_SUPPORTS_HIGHMEM
  578. select SYS_SUPPORTS_LITTLE_ENDIAN
  579. select ZONE_DMA32 if 64BIT
  580. config SIBYTE_LITTLESUR
  581. bool "Sibyte BCM91250C2-LittleSur"
  582. select BOOT_ELF32
  583. select DMA_COHERENT
  584. select HAVE_PATA_PLATFORM
  585. select NR_CPUS_DEFAULT_2
  586. select SIBYTE_SB1250
  587. select SWAP_IO_SPACE
  588. select SYS_HAS_CPU_SB1
  589. select SYS_SUPPORTS_BIG_ENDIAN
  590. select SYS_SUPPORTS_HIGHMEM
  591. select SYS_SUPPORTS_LITTLE_ENDIAN
  592. config SIBYTE_SENTOSA
  593. bool "Sibyte BCM91250E-Sentosa"
  594. select BOOT_ELF32
  595. select DMA_COHERENT
  596. select NR_CPUS_DEFAULT_2
  597. select SIBYTE_SB1250
  598. select SWAP_IO_SPACE
  599. select SYS_HAS_CPU_SB1
  600. select SYS_SUPPORTS_BIG_ENDIAN
  601. select SYS_SUPPORTS_LITTLE_ENDIAN
  602. config SIBYTE_BIGSUR
  603. bool "Sibyte BCM91480B-BigSur"
  604. select BOOT_ELF32
  605. select DMA_COHERENT
  606. select NR_CPUS_DEFAULT_4
  607. select SIBYTE_BCM1x80
  608. select SWAP_IO_SPACE
  609. select SYS_HAS_CPU_SB1
  610. select SYS_SUPPORTS_BIG_ENDIAN
  611. select SYS_SUPPORTS_HIGHMEM
  612. select SYS_SUPPORTS_LITTLE_ENDIAN
  613. select ZONE_DMA32 if 64BIT
  614. config SNI_RM
  615. bool "SNI RM200/300/400"
  616. select FW_ARC if CPU_LITTLE_ENDIAN
  617. select FW_ARC32 if CPU_LITTLE_ENDIAN
  618. select FW_SNIPROM if CPU_BIG_ENDIAN
  619. select ARCH_MAY_HAVE_PC_FDC
  620. select BOOT_ELF32
  621. select CEVT_R4K
  622. select CSRC_R4K
  623. select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
  624. select DMA_NONCOHERENT
  625. select GENERIC_ISA_DMA
  626. select HAVE_PCSPKR_PLATFORM
  627. select HW_HAS_EISA
  628. select HW_HAS_PCI
  629. select IRQ_CPU
  630. select I8253
  631. select I8259
  632. select ISA
  633. select SWAP_IO_SPACE if CPU_BIG_ENDIAN
  634. select SYS_HAS_CPU_R4X00
  635. select SYS_HAS_CPU_R5000
  636. select SYS_HAS_CPU_R10000
  637. select R5000_CPU_SCACHE
  638. select SYS_HAS_EARLY_PRINTK
  639. select SYS_SUPPORTS_32BIT_KERNEL
  640. select SYS_SUPPORTS_64BIT_KERNEL
  641. select SYS_SUPPORTS_BIG_ENDIAN
  642. select SYS_SUPPORTS_HIGHMEM
  643. select SYS_SUPPORTS_LITTLE_ENDIAN
  644. help
  645. The SNI RM200/300/400 are MIPS-based machines manufactured by
  646. Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
  647. Technology and now in turn merged with Fujitsu. Say Y here to
  648. support this machine type.
  649. config MACH_TX39XX
  650. bool "Toshiba TX39 series based machines"
  651. config MACH_TX49XX
  652. bool "Toshiba TX49 series based machines"
  653. config MIKROTIK_RB532
  654. bool "Mikrotik RB532 boards"
  655. select CEVT_R4K
  656. select CSRC_R4K
  657. select DMA_NONCOHERENT
  658. select HW_HAS_PCI
  659. select IRQ_CPU
  660. select SYS_HAS_CPU_MIPS32_R1
  661. select SYS_SUPPORTS_32BIT_KERNEL
  662. select SYS_SUPPORTS_LITTLE_ENDIAN
  663. select SWAP_IO_SPACE
  664. select BOOT_RAW
  665. select ARCH_REQUIRE_GPIOLIB
  666. help
  667. Support the Mikrotik(tm) RouterBoard 532 series,
  668. based on the IDT RC32434 SoC.
  669. config WR_PPMC
  670. bool "Wind River PPMC board"
  671. select CEVT_R4K
  672. select CSRC_R4K
  673. select IRQ_CPU
  674. select BOOT_ELF32
  675. select DMA_NONCOHERENT
  676. select HW_HAS_PCI
  677. select PCI_GT64XXX_PCI0
  678. select SWAP_IO_SPACE
  679. select SYS_HAS_CPU_MIPS32_R1
  680. select SYS_HAS_CPU_MIPS32_R2
  681. select SYS_HAS_CPU_MIPS64_R1
  682. select SYS_HAS_CPU_NEVADA
  683. select SYS_HAS_CPU_RM7000
  684. select SYS_SUPPORTS_32BIT_KERNEL
  685. select SYS_SUPPORTS_64BIT_KERNEL
  686. select SYS_SUPPORTS_BIG_ENDIAN
  687. select SYS_SUPPORTS_LITTLE_ENDIAN
  688. help
  689. This enables support for the Wind River MIPS32 4KC PPMC evaluation
  690. board, which is based on GT64120 bridge chip.
  691. config CAVIUM_OCTEON_SIMULATOR
  692. bool "Cavium Networks Octeon Simulator"
  693. select CEVT_R4K
  694. select 64BIT_PHYS_ADDR
  695. select DMA_COHERENT
  696. select SYS_SUPPORTS_64BIT_KERNEL
  697. select SYS_SUPPORTS_BIG_ENDIAN
  698. select SYS_SUPPORTS_HOTPLUG_CPU
  699. select SYS_HAS_CPU_CAVIUM_OCTEON
  700. select HOLES_IN_ZONE
  701. help
  702. The Octeon simulator is software performance model of the Cavium
  703. Octeon Processor. It supports simulating Octeon processors on x86
  704. hardware.
  705. config CAVIUM_OCTEON_REFERENCE_BOARD
  706. bool "Cavium Networks Octeon reference board"
  707. select CEVT_R4K
  708. select 64BIT_PHYS_ADDR
  709. select DMA_COHERENT
  710. select SYS_SUPPORTS_64BIT_KERNEL
  711. select SYS_SUPPORTS_BIG_ENDIAN
  712. select EDAC_SUPPORT
  713. select SYS_SUPPORTS_HOTPLUG_CPU
  714. select SYS_HAS_EARLY_PRINTK
  715. select SYS_HAS_CPU_CAVIUM_OCTEON
  716. select SWAP_IO_SPACE
  717. select HW_HAS_PCI
  718. select ARCH_SUPPORTS_MSI
  719. select ZONE_DMA32
  720. select USB_ARCH_HAS_OHCI
  721. select USB_ARCH_HAS_EHCI
  722. select HOLES_IN_ZONE
  723. help
  724. This option supports all of the Octeon reference boards from Cavium
  725. Networks. It builds a kernel that dynamically determines the Octeon
  726. CPU type and supports all known board reference implementations.
  727. Some of the supported boards are:
  728. EBT3000
  729. EBH3000
  730. EBH3100
  731. Thunder
  732. Kodama
  733. Hikari
  734. Say Y here for most Octeon reference boards.
  735. config NLM_XLR_BOARD
  736. bool "Netlogic XLR/XLS based systems"
  737. select BOOT_ELF32
  738. select NLM_COMMON
  739. select SYS_HAS_CPU_XLR
  740. select SYS_SUPPORTS_SMP
  741. select HW_HAS_PCI
  742. select SWAP_IO_SPACE
  743. select SYS_SUPPORTS_32BIT_KERNEL
  744. select SYS_SUPPORTS_64BIT_KERNEL
  745. select 64BIT_PHYS_ADDR
  746. select SYS_SUPPORTS_BIG_ENDIAN
  747. select SYS_SUPPORTS_HIGHMEM
  748. select DMA_COHERENT
  749. select NR_CPUS_DEFAULT_32
  750. select CEVT_R4K
  751. select CSRC_R4K
  752. select IRQ_CPU
  753. select ARCH_SUPPORTS_MSI
  754. select ZONE_DMA32 if 64BIT
  755. select SYNC_R4K
  756. select SYS_HAS_EARLY_PRINTK
  757. select USB_ARCH_HAS_OHCI if USB_SUPPORT
  758. select USB_ARCH_HAS_EHCI if USB_SUPPORT
  759. help
  760. Support for systems based on Netlogic XLR and XLS processors.
  761. Say Y here if you have a XLR or XLS based board.
  762. config NLM_XLP_BOARD
  763. bool "Netlogic XLP based systems"
  764. select BOOT_ELF32
  765. select NLM_COMMON
  766. select SYS_HAS_CPU_XLP
  767. select SYS_SUPPORTS_SMP
  768. select HW_HAS_PCI
  769. select SYS_SUPPORTS_32BIT_KERNEL
  770. select SYS_SUPPORTS_64BIT_KERNEL
  771. select 64BIT_PHYS_ADDR
  772. select SYS_SUPPORTS_BIG_ENDIAN
  773. select SYS_SUPPORTS_LITTLE_ENDIAN
  774. select SYS_SUPPORTS_HIGHMEM
  775. select DMA_COHERENT
  776. select NR_CPUS_DEFAULT_32
  777. select CEVT_R4K
  778. select CSRC_R4K
  779. select IRQ_CPU
  780. select ZONE_DMA32 if 64BIT
  781. select SYNC_R4K
  782. select SYS_HAS_EARLY_PRINTK
  783. select USE_OF
  784. help
  785. This board is based on Netlogic XLP Processor.
  786. Say Y here if you have a XLP based board.
  787. endchoice
  788. source "arch/mips/alchemy/Kconfig"
  789. source "arch/mips/ath79/Kconfig"
  790. source "arch/mips/bcm47xx/Kconfig"
  791. source "arch/mips/bcm63xx/Kconfig"
  792. source "arch/mips/jazz/Kconfig"
  793. source "arch/mips/jz4740/Kconfig"
  794. source "arch/mips/lantiq/Kconfig"
  795. source "arch/mips/lasat/Kconfig"
  796. source "arch/mips/pmcs-msp71xx/Kconfig"
  797. source "arch/mips/powertv/Kconfig"
  798. source "arch/mips/ralink/Kconfig"
  799. source "arch/mips/sgi-ip27/Kconfig"
  800. source "arch/mips/sibyte/Kconfig"
  801. source "arch/mips/txx9/Kconfig"
  802. source "arch/mips/vr41xx/Kconfig"
  803. source "arch/mips/cavium-octeon/Kconfig"
  804. source "arch/mips/loongson/Kconfig"
  805. source "arch/mips/loongson1/Kconfig"
  806. source "arch/mips/netlogic/Kconfig"
  807. endmenu
  808. config RWSEM_GENERIC_SPINLOCK
  809. bool
  810. default y
  811. config RWSEM_XCHGADD_ALGORITHM
  812. bool
  813. config ARCH_HAS_ILOG2_U32
  814. bool
  815. default n
  816. config ARCH_HAS_ILOG2_U64
  817. bool
  818. default n
  819. config GENERIC_HWEIGHT
  820. bool
  821. default y
  822. config GENERIC_CALIBRATE_DELAY
  823. bool
  824. default y
  825. config SCHED_OMIT_FRAME_POINTER
  826. bool
  827. default y
  828. #
  829. # Select some configuration options automatically based on user selections.
  830. #
  831. config FW_ARC
  832. bool
  833. config ARCH_MAY_HAVE_PC_FDC
  834. bool
  835. config BOOT_RAW
  836. bool
  837. config CEVT_BCM1480
  838. bool
  839. config CEVT_DS1287
  840. bool
  841. config CEVT_GT641XX
  842. bool
  843. config CEVT_R4K
  844. bool
  845. config CEVT_SB1250
  846. bool
  847. config CEVT_TXX9
  848. bool
  849. config CSRC_BCM1480
  850. bool
  851. config CSRC_IOASIC
  852. bool
  853. config CSRC_POWERTV
  854. bool
  855. config CSRC_R4K
  856. bool
  857. config CSRC_GIC
  858. bool
  859. config CSRC_SB1250
  860. bool
  861. config GPIO_TXX9
  862. select GENERIC_GPIO
  863. select ARCH_REQUIRE_GPIOLIB
  864. bool
  865. config FW_CFE
  866. bool
  867. config ARCH_DMA_ADDR_T_64BIT
  868. def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
  869. config DMA_COHERENT
  870. bool
  871. config DMA_NONCOHERENT
  872. bool
  873. select NEED_DMA_MAP_STATE
  874. config NEED_DMA_MAP_STATE
  875. bool
  876. config SYS_HAS_EARLY_PRINTK
  877. bool
  878. config HOTPLUG_CPU
  879. bool "Support for hot-pluggable CPUs"
  880. depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
  881. help
  882. Say Y here to allow turning CPUs off and on. CPUs can be
  883. controlled through /sys/devices/system/cpu.
  884. (Note: power management support will enable this option
  885. automatically on SMP systems. )
  886. Say N if you want to disable CPU hotplug.
  887. config SYS_SUPPORTS_HOTPLUG_CPU
  888. bool
  889. config I8259
  890. bool
  891. config MIPS_BONITO64
  892. bool
  893. config MIPS_MSC
  894. bool
  895. config MIPS_NILE4
  896. bool
  897. config MIPS_DISABLE_OBSOLETE_IDE
  898. bool
  899. config SYNC_R4K
  900. bool
  901. config MIPS_MACHINE
  902. def_bool n
  903. config NO_IOPORT
  904. def_bool n
  905. config GENERIC_ISA_DMA
  906. bool
  907. select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
  908. select ISA_DMA_API
  909. config GENERIC_ISA_DMA_SUPPORT_BROKEN
  910. bool
  911. select GENERIC_ISA_DMA
  912. config ISA_DMA_API
  913. bool
  914. config GENERIC_GPIO
  915. bool
  916. config HOLES_IN_ZONE
  917. bool
  918. #
  919. # Endianness selection. Sufficiently obscure so many users don't know what to
  920. # answer,so we try hard to limit the available choices. Also the use of a
  921. # choice statement should be more obvious to the user.
  922. #
  923. choice
  924. prompt "Endianness selection"
  925. help
  926. Some MIPS machines can be configured for either little or big endian
  927. byte order. These modes require different kernels and a different
  928. Linux distribution. In general there is one preferred byteorder for a
  929. particular system but some systems are just as commonly used in the
  930. one or the other endianness.
  931. config CPU_BIG_ENDIAN
  932. bool "Big endian"
  933. depends on SYS_SUPPORTS_BIG_ENDIAN
  934. config CPU_LITTLE_ENDIAN
  935. bool "Little endian"
  936. depends on SYS_SUPPORTS_LITTLE_ENDIAN
  937. help
  938. endchoice
  939. config EXPORT_UASM
  940. bool
  941. config SYS_SUPPORTS_APM_EMULATION
  942. bool
  943. config SYS_SUPPORTS_BIG_ENDIAN
  944. bool
  945. config SYS_SUPPORTS_LITTLE_ENDIAN
  946. bool
  947. config SYS_SUPPORTS_HUGETLBFS
  948. bool
  949. depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  950. default y
  951. config MIPS_HUGE_TLB_SUPPORT
  952. def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
  953. config IRQ_CPU
  954. bool
  955. config IRQ_CPU_RM7K
  956. bool
  957. config IRQ_MSP_SLP
  958. bool
  959. config IRQ_MSP_CIC
  960. bool
  961. config IRQ_TXX9
  962. bool
  963. config IRQ_GT641XX
  964. bool
  965. config IRQ_GIC
  966. bool
  967. config MIPS_BOARDS_GEN
  968. bool
  969. config PCI_GT64XXX_PCI0
  970. bool
  971. config NO_EXCEPT_FILL
  972. bool
  973. config SOC_EMMA2RH
  974. bool
  975. select CEVT_R4K
  976. select CSRC_R4K
  977. select DMA_NONCOHERENT
  978. select IRQ_CPU
  979. select SWAP_IO_SPACE
  980. select SYS_HAS_CPU_R5500
  981. select SYS_SUPPORTS_32BIT_KERNEL
  982. select SYS_SUPPORTS_64BIT_KERNEL
  983. select SYS_SUPPORTS_BIG_ENDIAN
  984. config SOC_PNX833X
  985. bool
  986. select CEVT_R4K
  987. select CSRC_R4K
  988. select IRQ_CPU
  989. select DMA_NONCOHERENT
  990. select SYS_HAS_CPU_MIPS32_R2
  991. select SYS_SUPPORTS_32BIT_KERNEL
  992. select SYS_SUPPORTS_LITTLE_ENDIAN
  993. select SYS_SUPPORTS_BIG_ENDIAN
  994. select GENERIC_GPIO
  995. select CPU_MIPSR2_IRQ_VI
  996. config SOC_PNX8335
  997. bool
  998. select SOC_PNX833X
  999. config SWAP_IO_SPACE
  1000. bool
  1001. config SGI_HAS_INDYDOG
  1002. bool
  1003. config SGI_HAS_HAL2
  1004. bool
  1005. config SGI_HAS_SEEQ
  1006. bool
  1007. config SGI_HAS_WD93
  1008. bool
  1009. config SGI_HAS_ZILOG
  1010. bool
  1011. config SGI_HAS_I8042
  1012. bool
  1013. config DEFAULT_SGI_PARTITION
  1014. bool
  1015. config FW_ARC32
  1016. bool
  1017. config FW_SNIPROM
  1018. bool
  1019. config BOOT_ELF32
  1020. bool
  1021. config MIPS_L1_CACHE_SHIFT
  1022. int
  1023. default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
  1024. default "6" if MIPS_CPU_SCACHE
  1025. default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
  1026. default "5"
  1027. config HAVE_STD_PC_SERIAL_PORT
  1028. bool
  1029. config ARC_CONSOLE
  1030. bool "ARC console support"
  1031. depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
  1032. config ARC_MEMORY
  1033. bool
  1034. depends on MACH_JAZZ || SNI_RM || SGI_IP32
  1035. default y
  1036. config ARC_PROMLIB
  1037. bool
  1038. depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
  1039. default y
  1040. config FW_ARC64
  1041. bool
  1042. config BOOT_ELF64
  1043. bool
  1044. menu "CPU selection"
  1045. choice
  1046. prompt "CPU type"
  1047. default CPU_R4X00
  1048. config CPU_LOONGSON2E
  1049. bool "Loongson 2E"
  1050. depends on SYS_HAS_CPU_LOONGSON2E
  1051. select CPU_LOONGSON2
  1052. help
  1053. The Loongson 2E processor implements the MIPS III instruction set
  1054. with many extensions.
  1055. It has an internal FPGA northbridge, which is compatible to
  1056. bonito64.
  1057. config CPU_LOONGSON2F
  1058. bool "Loongson 2F"
  1059. depends on SYS_HAS_CPU_LOONGSON2F
  1060. select CPU_LOONGSON2
  1061. select GENERIC_GPIO
  1062. select ARCH_REQUIRE_GPIOLIB
  1063. help
  1064. The Loongson 2F processor implements the MIPS III instruction set
  1065. with many extensions.
  1066. Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  1067. have a similar programming interface with FPGA northbridge used in
  1068. Loongson2E.
  1069. config CPU_LOONGSON1B
  1070. bool "Loongson 1B"
  1071. depends on SYS_HAS_CPU_LOONGSON1B
  1072. select CPU_LOONGSON1
  1073. help
  1074. The Loongson 1B is a 32-bit SoC, which implements the MIPS32
  1075. release 2 instruction set.
  1076. config CPU_MIPS32_R1
  1077. bool "MIPS32 Release 1"
  1078. depends on SYS_HAS_CPU_MIPS32_R1
  1079. select CPU_HAS_PREFETCH
  1080. select CPU_SUPPORTS_32BIT_KERNEL
  1081. select CPU_SUPPORTS_HIGHMEM
  1082. help
  1083. Choose this option to build a kernel for release 1 or later of the
  1084. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1085. MIPS processor are based on a MIPS32 processor. If you know the
  1086. specific type of processor in your system, choose those that one
  1087. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1088. Release 2 of the MIPS32 architecture is available since several
  1089. years so chances are you even have a MIPS32 Release 2 processor
  1090. in which case you should choose CPU_MIPS32_R2 instead for better
  1091. performance.
  1092. config CPU_MIPS32_R2
  1093. bool "MIPS32 Release 2"
  1094. depends on SYS_HAS_CPU_MIPS32_R2
  1095. select CPU_HAS_PREFETCH
  1096. select CPU_SUPPORTS_32BIT_KERNEL
  1097. select CPU_SUPPORTS_HIGHMEM
  1098. help
  1099. Choose this option to build a kernel for release 2 or later of the
  1100. MIPS32 architecture. Most modern embedded systems with a 32-bit
  1101. MIPS processor are based on a MIPS32 processor. If you know the
  1102. specific type of processor in your system, choose those that one
  1103. otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  1104. config CPU_MIPS64_R1
  1105. bool "MIPS64 Release 1"
  1106. depends on SYS_HAS_CPU_MIPS64_R1
  1107. select CPU_HAS_PREFETCH
  1108. select CPU_SUPPORTS_32BIT_KERNEL
  1109. select CPU_SUPPORTS_64BIT_KERNEL
  1110. select CPU_SUPPORTS_HIGHMEM
  1111. select CPU_SUPPORTS_HUGEPAGES
  1112. help
  1113. Choose this option to build a kernel for release 1 or later of the
  1114. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1115. MIPS processor are based on a MIPS64 processor. If you know the
  1116. specific type of processor in your system, choose those that one
  1117. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1118. Release 2 of the MIPS64 architecture is available since several
  1119. years so chances are you even have a MIPS64 Release 2 processor
  1120. in which case you should choose CPU_MIPS64_R2 instead for better
  1121. performance.
  1122. config CPU_MIPS64_R2
  1123. bool "MIPS64 Release 2"
  1124. depends on SYS_HAS_CPU_MIPS64_R2
  1125. select CPU_HAS_PREFETCH
  1126. select CPU_SUPPORTS_32BIT_KERNEL
  1127. select CPU_SUPPORTS_64BIT_KERNEL
  1128. select CPU_SUPPORTS_HIGHMEM
  1129. select CPU_SUPPORTS_HUGEPAGES
  1130. help
  1131. Choose this option to build a kernel for release 2 or later of the
  1132. MIPS64 architecture. Many modern embedded systems with a 64-bit
  1133. MIPS processor are based on a MIPS64 processor. If you know the
  1134. specific type of processor in your system, choose those that one
  1135. otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
  1136. config CPU_R3000
  1137. bool "R3000"
  1138. depends on SYS_HAS_CPU_R3000
  1139. select CPU_HAS_WB
  1140. select CPU_SUPPORTS_32BIT_KERNEL
  1141. select CPU_SUPPORTS_HIGHMEM
  1142. help
  1143. Please make sure to pick the right CPU type. Linux/MIPS is not
  1144. designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  1145. *not* work on R4000 machines and vice versa. However, since most
  1146. of the supported machines have an R4000 (or similar) CPU, R4x00
  1147. might be a safe bet. If the resulting kernel does not work,
  1148. try to recompile with R3000.
  1149. config CPU_TX39XX
  1150. bool "R39XX"
  1151. depends on SYS_HAS_CPU_TX39XX
  1152. select CPU_SUPPORTS_32BIT_KERNEL
  1153. config CPU_VR41XX
  1154. bool "R41xx"
  1155. depends on SYS_HAS_CPU_VR41XX
  1156. select CPU_SUPPORTS_32BIT_KERNEL
  1157. select CPU_SUPPORTS_64BIT_KERNEL
  1158. help
  1159. The options selects support for the NEC VR4100 series of processors.
  1160. Only choose this option if you have one of these processors as a
  1161. kernel built with this option will not run on any other type of
  1162. processor or vice versa.
  1163. config CPU_R4300
  1164. bool "R4300"
  1165. depends on SYS_HAS_CPU_R4300
  1166. select CPU_SUPPORTS_32BIT_KERNEL
  1167. select CPU_SUPPORTS_64BIT_KERNEL
  1168. help
  1169. MIPS Technologies R4300-series processors.
  1170. config CPU_R4X00
  1171. bool "R4x00"
  1172. depends on SYS_HAS_CPU_R4X00
  1173. select CPU_SUPPORTS_32BIT_KERNEL
  1174. select CPU_SUPPORTS_64BIT_KERNEL
  1175. select CPU_SUPPORTS_HUGEPAGES
  1176. help
  1177. MIPS Technologies R4000-series processors other than 4300, including
  1178. the R4000, R4400, R4600, and 4700.
  1179. config CPU_TX49XX
  1180. bool "R49XX"
  1181. depends on SYS_HAS_CPU_TX49XX
  1182. select CPU_HAS_PREFETCH
  1183. select CPU_SUPPORTS_32BIT_KERNEL
  1184. select CPU_SUPPORTS_64BIT_KERNEL
  1185. select CPU_SUPPORTS_HUGEPAGES
  1186. config CPU_R5000
  1187. bool "R5000"
  1188. depends on SYS_HAS_CPU_R5000
  1189. select CPU_SUPPORTS_32BIT_KERNEL
  1190. select CPU_SUPPORTS_64BIT_KERNEL
  1191. select CPU_SUPPORTS_HUGEPAGES
  1192. help
  1193. MIPS Technologies R5000-series processors other than the Nevada.
  1194. config CPU_R5432
  1195. bool "R5432"
  1196. depends on SYS_HAS_CPU_R5432
  1197. select CPU_SUPPORTS_32BIT_KERNEL
  1198. select CPU_SUPPORTS_64BIT_KERNEL
  1199. select CPU_SUPPORTS_HUGEPAGES
  1200. config CPU_R5500
  1201. bool "R5500"
  1202. depends on SYS_HAS_CPU_R5500
  1203. select CPU_SUPPORTS_32BIT_KERNEL
  1204. select CPU_SUPPORTS_64BIT_KERNEL
  1205. select CPU_SUPPORTS_HUGEPAGES
  1206. help
  1207. NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  1208. instruction set.
  1209. config CPU_R6000
  1210. bool "R6000"
  1211. depends on SYS_HAS_CPU_R6000
  1212. select CPU_SUPPORTS_32BIT_KERNEL
  1213. help
  1214. MIPS Technologies R6000 and R6000A series processors. Note these
  1215. processors are extremely rare and the support for them is incomplete.
  1216. config CPU_NEVADA
  1217. bool "RM52xx"
  1218. depends on SYS_HAS_CPU_NEVADA
  1219. select CPU_SUPPORTS_32BIT_KERNEL
  1220. select CPU_SUPPORTS_64BIT_KERNEL
  1221. select CPU_SUPPORTS_HUGEPAGES
  1222. help
  1223. QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  1224. config CPU_R8000
  1225. bool "R8000"
  1226. depends on SYS_HAS_CPU_R8000
  1227. select CPU_HAS_PREFETCH
  1228. select CPU_SUPPORTS_64BIT_KERNEL
  1229. help
  1230. MIPS Technologies R8000 processors. Note these processors are
  1231. uncommon and the support for them is incomplete.
  1232. config CPU_R10000
  1233. bool "R10000"
  1234. depends on SYS_HAS_CPU_R10000
  1235. select CPU_HAS_PREFETCH
  1236. select CPU_SUPPORTS_32BIT_KERNEL
  1237. select CPU_SUPPORTS_64BIT_KERNEL
  1238. select CPU_SUPPORTS_HIGHMEM
  1239. select CPU_SUPPORTS_HUGEPAGES
  1240. help
  1241. MIPS Technologies R10000-series processors.
  1242. config CPU_RM7000
  1243. bool "RM7000"
  1244. depends on SYS_HAS_CPU_RM7000
  1245. select CPU_HAS_PREFETCH
  1246. select CPU_SUPPORTS_32BIT_KERNEL
  1247. select CPU_SUPPORTS_64BIT_KERNEL
  1248. select CPU_SUPPORTS_HIGHMEM
  1249. select CPU_SUPPORTS_HUGEPAGES
  1250. config CPU_SB1
  1251. bool "SB1"
  1252. depends on SYS_HAS_CPU_SB1
  1253. select CPU_SUPPORTS_32BIT_KERNEL
  1254. select CPU_SUPPORTS_64BIT_KERNEL
  1255. select CPU_SUPPORTS_HIGHMEM
  1256. select CPU_SUPPORTS_HUGEPAGES
  1257. select WEAK_ORDERING
  1258. config CPU_CAVIUM_OCTEON
  1259. bool "Cavium Octeon processor"
  1260. depends on SYS_HAS_CPU_CAVIUM_OCTEON
  1261. select ARCH_SPARSEMEM_ENABLE
  1262. select CPU_HAS_PREFETCH
  1263. select CPU_SUPPORTS_64BIT_KERNEL
  1264. select SYS_SUPPORTS_SMP
  1265. select NR_CPUS_DEFAULT_16
  1266. select WEAK_ORDERING
  1267. select CPU_SUPPORTS_HIGHMEM
  1268. select CPU_SUPPORTS_HUGEPAGES
  1269. select LIBFDT
  1270. select USE_OF
  1271. help
  1272. The Cavium Octeon processor is a highly integrated chip containing
  1273. many ethernet hardware widgets for networking tasks. The processor
  1274. can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  1275. Full details can be found at http://www.caviumnetworks.com.
  1276. config CPU_BMIPS3300
  1277. bool "BMIPS3300"
  1278. depends on SYS_HAS_CPU_BMIPS3300
  1279. select CPU_BMIPS
  1280. help
  1281. Broadcom BMIPS3300 processors.
  1282. config CPU_BMIPS4350
  1283. bool "BMIPS4350"
  1284. depends on SYS_HAS_CPU_BMIPS4350
  1285. select CPU_BMIPS
  1286. select SYS_SUPPORTS_SMP
  1287. select SYS_SUPPORTS_HOTPLUG_CPU
  1288. help
  1289. Broadcom BMIPS4350 ("VIPER") processors.
  1290. config CPU_BMIPS4380
  1291. bool "BMIPS4380"
  1292. depends on SYS_HAS_CPU_BMIPS4380
  1293. select CPU_BMIPS
  1294. select SYS_SUPPORTS_SMP
  1295. select SYS_SUPPORTS_HOTPLUG_CPU
  1296. help
  1297. Broadcom BMIPS4380 processors.
  1298. config CPU_BMIPS5000
  1299. bool "BMIPS5000"
  1300. depends on SYS_HAS_CPU_BMIPS5000
  1301. select CPU_BMIPS
  1302. select CPU_SUPPORTS_HIGHMEM
  1303. select MIPS_CPU_SCACHE
  1304. select SYS_SUPPORTS_SMP
  1305. select SYS_SUPPORTS_HOTPLUG_CPU
  1306. help
  1307. Broadcom BMIPS5000 processors.
  1308. config CPU_XLR
  1309. bool "Netlogic XLR SoC"
  1310. depends on SYS_HAS_CPU_XLR
  1311. select CPU_SUPPORTS_32BIT_KERNEL
  1312. select CPU_SUPPORTS_64BIT_KERNEL
  1313. select CPU_SUPPORTS_HIGHMEM
  1314. select CPU_SUPPORTS_HUGEPAGES
  1315. select WEAK_ORDERING
  1316. select WEAK_REORDERING_BEYOND_LLSC
  1317. help
  1318. Netlogic Microsystems XLR/XLS processors.
  1319. config CPU_XLP
  1320. bool "Netlogic XLP SoC"
  1321. depends on SYS_HAS_CPU_XLP
  1322. select CPU_SUPPORTS_32BIT_KERNEL
  1323. select CPU_SUPPORTS_64BIT_KERNEL
  1324. select CPU_SUPPORTS_HIGHMEM
  1325. select WEAK_ORDERING
  1326. select WEAK_REORDERING_BEYOND_LLSC
  1327. select CPU_HAS_PREFETCH
  1328. select CPU_MIPSR2
  1329. help
  1330. Netlogic Microsystems XLP processors.
  1331. endchoice
  1332. if CPU_LOONGSON2F
  1333. config CPU_NOP_WORKAROUNDS
  1334. bool
  1335. config CPU_JUMP_WORKAROUNDS
  1336. bool
  1337. config CPU_LOONGSON2F_WORKAROUNDS
  1338. bool "Loongson 2F Workarounds"
  1339. default y
  1340. select CPU_NOP_WORKAROUNDS
  1341. select CPU_JUMP_WORKAROUNDS
  1342. help
  1343. Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  1344. require workarounds. Without workarounds the system may hang
  1345. unexpectedly. For more information please refer to the gas
  1346. -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  1347. Loongson 2F03 and later have fixed these issues and no workarounds
  1348. are needed. The workarounds have no significant side effect on them
  1349. but may decrease the performance of the system so this option should
  1350. be disabled unless the kernel is intended to be run on 2F01 or 2F02
  1351. systems.
  1352. If unsure, please say Y.
  1353. endif # CPU_LOONGSON2F
  1354. config SYS_SUPPORTS_ZBOOT
  1355. bool
  1356. select HAVE_KERNEL_GZIP
  1357. select HAVE_KERNEL_BZIP2
  1358. select HAVE_KERNEL_LZMA
  1359. select HAVE_KERNEL_LZO
  1360. config SYS_SUPPORTS_ZBOOT_UART16550
  1361. bool
  1362. select SYS_SUPPORTS_ZBOOT
  1363. config CPU_LOONGSON2
  1364. bool
  1365. select CPU_SUPPORTS_32BIT_KERNEL
  1366. select CPU_SUPPORTS_64BIT_KERNEL
  1367. select CPU_SUPPORTS_HIGHMEM
  1368. select CPU_SUPPORTS_HUGEPAGES
  1369. config CPU_LOONGSON1
  1370. bool
  1371. select CPU_MIPS32
  1372. select CPU_MIPSR2
  1373. select CPU_HAS_PREFETCH
  1374. select CPU_SUPPORTS_32BIT_KERNEL
  1375. select CPU_SUPPORTS_HIGHMEM
  1376. config CPU_BMIPS
  1377. bool
  1378. select CPU_MIPS32
  1379. select CPU_SUPPORTS_32BIT_KERNEL
  1380. select DMA_NONCOHERENT
  1381. select IRQ_CPU
  1382. select SWAP_IO_SPACE
  1383. select WEAK_ORDERING
  1384. config SYS_HAS_CPU_LOONGSON2E
  1385. bool
  1386. config SYS_HAS_CPU_LOONGSON2F
  1387. bool
  1388. select CPU_SUPPORTS_CPUFREQ
  1389. select CPU_SUPPORTS_ADDRWINCFG if 64BIT
  1390. select CPU_SUPPORTS_UNCACHED_ACCELERATED
  1391. config SYS_HAS_CPU_LOONGSON1B
  1392. bool
  1393. config SYS_HAS_CPU_MIPS32_R1
  1394. bool
  1395. config SYS_HAS_CPU_MIPS32_R2
  1396. bool
  1397. config SYS_HAS_CPU_MIPS64_R1
  1398. bool
  1399. config SYS_HAS_CPU_MIPS64_R2
  1400. bool
  1401. config SYS_HAS_CPU_R3000
  1402. bool
  1403. config SYS_HAS_CPU_TX39XX
  1404. bool
  1405. config SYS_HAS_CPU_VR41XX
  1406. bool
  1407. config SYS_HAS_CPU_R4300
  1408. bool
  1409. config SYS_HAS_CPU_R4X00
  1410. bool
  1411. config SYS_HAS_CPU_TX49XX
  1412. bool
  1413. config SYS_HAS_CPU_R5000
  1414. bool
  1415. config SYS_HAS_CPU_R5432
  1416. bool
  1417. config SYS_HAS_CPU_R5500
  1418. bool
  1419. config SYS_HAS_CPU_R6000
  1420. bool
  1421. config SYS_HAS_CPU_NEVADA
  1422. bool
  1423. config SYS_HAS_CPU_R8000
  1424. bool
  1425. config SYS_HAS_CPU_R10000
  1426. bool
  1427. config SYS_HAS_CPU_RM7000
  1428. bool
  1429. config SYS_HAS_CPU_SB1
  1430. bool
  1431. config SYS_HAS_CPU_CAVIUM_OCTEON
  1432. bool
  1433. config SYS_HAS_CPU_BMIPS3300
  1434. bool
  1435. config SYS_HAS_CPU_BMIPS4350
  1436. bool
  1437. config SYS_HAS_CPU_BMIPS4380
  1438. bool
  1439. config SYS_HAS_CPU_BMIPS5000
  1440. bool
  1441. config SYS_HAS_CPU_XLR
  1442. bool
  1443. config SYS_HAS_CPU_XLP
  1444. bool
  1445. #
  1446. # CPU may reorder R->R, R->W, W->R, W->W
  1447. # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  1448. #
  1449. config WEAK_ORDERING
  1450. bool
  1451. #
  1452. # CPU may reorder reads and writes beyond LL/SC
  1453. # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  1454. #
  1455. config WEAK_REORDERING_BEYOND_LLSC
  1456. bool
  1457. endmenu
  1458. #
  1459. # These two indicate any level of the MIPS32 and MIPS64 architecture
  1460. #
  1461. config CPU_MIPS32
  1462. bool
  1463. default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  1464. config CPU_MIPS64
  1465. bool
  1466. default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  1467. #
  1468. # These two indicate the revision of the architecture, either Release 1 or Release 2
  1469. #
  1470. config CPU_MIPSR1
  1471. bool
  1472. default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  1473. config CPU_MIPSR2
  1474. bool
  1475. default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
  1476. config SYS_SUPPORTS_32BIT_KERNEL
  1477. bool
  1478. config SYS_SUPPORTS_64BIT_KERNEL
  1479. bool
  1480. config CPU_SUPPORTS_32BIT_KERNEL
  1481. bool
  1482. config CPU_SUPPORTS_64BIT_KERNEL
  1483. bool
  1484. config CPU_SUPPORTS_CPUFREQ
  1485. bool
  1486. config CPU_SUPPORTS_ADDRWINCFG
  1487. bool
  1488. config CPU_SUPPORTS_HUGEPAGES
  1489. bool
  1490. config CPU_SUPPORTS_UNCACHED_ACCELERATED
  1491. bool
  1492. config MIPS_PGD_C0_CONTEXT
  1493. bool
  1494. default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
  1495. #
  1496. # Set to y for ptrace access to watch registers.
  1497. #
  1498. config HARDWARE_WATCHPOINTS
  1499. bool
  1500. default y if CPU_MIPSR1 || CPU_MIPSR2
  1501. menu "Kernel type"
  1502. choice
  1503. prompt "Kernel code model"
  1504. help
  1505. You should only select this option if you have a workload that
  1506. actually benefits from 64-bit processing or if your machine has
  1507. large memory. You will only be presented a single option in this
  1508. menu if your system does not support both 32-bit and 64-bit kernels.
  1509. config 32BIT
  1510. bool "32-bit kernel"
  1511. depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  1512. select TRAD_SIGNALS
  1513. help
  1514. Select this option if you want to build a 32-bit kernel.
  1515. config 64BIT
  1516. bool "64-bit kernel"
  1517. depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
  1518. select HAVE_SYSCALL_WRAPPERS
  1519. help
  1520. Select this option if you want to build a 64-bit kernel.
  1521. endchoice
  1522. choice
  1523. prompt "Kernel page size"
  1524. default PAGE_SIZE_4KB
  1525. config PAGE_SIZE_4KB
  1526. bool "4kB"
  1527. depends on !CPU_LOONGSON2
  1528. help
  1529. This option select the standard 4kB Linux page size. On some
  1530. R3000-family processors this is the only available page size. Using
  1531. 4kB page size will minimize memory consumption and is therefore
  1532. recommended for low memory systems.
  1533. config PAGE_SIZE_8KB
  1534. bool "8kB"
  1535. depends on CPU_R8000 || CPU_CAVIUM_OCTEON
  1536. help
  1537. Using 8kB page size will result in higher performance kernel at
  1538. the price of higher memory consumption. This option is available
  1539. only on R8000 and cnMIPS processors. Note that you will need a
  1540. suitable Linux distribution to support this.
  1541. config PAGE_SIZE_16KB
  1542. bool "16kB"
  1543. depends on !CPU_R3000 && !CPU_TX39XX
  1544. help
  1545. Using 16kB page size will result in higher performance kernel at
  1546. the price of higher memory consumption. This option is available on
  1547. all non-R3000 family processors. Note that you will need a suitable
  1548. Linux distribution to support this.
  1549. config PAGE_SIZE_32KB
  1550. bool "32kB"
  1551. depends on CPU_CAVIUM_OCTEON
  1552. help
  1553. Using 32kB page size will result in higher performance kernel at
  1554. the price of higher memory consumption. This option is available
  1555. only on cnMIPS cores. Note that you will need a suitable Linux
  1556. distribution to support this.
  1557. config PAGE_SIZE_64KB
  1558. bool "64kB"
  1559. depends on !CPU_R3000 && !CPU_TX39XX
  1560. help
  1561. Using 64kB page size will result in higher performance kernel at
  1562. the price of higher memory consumption. This option is available on
  1563. all non-R3000 family processor. Not that at the time of this
  1564. writing this option is still high experimental.
  1565. endchoice
  1566. config FORCE_MAX_ZONEORDER
  1567. int "Maximum zone order"
  1568. range 14 64 if HUGETLB_PAGE && PAGE_SIZE_64KB
  1569. default "14" if HUGETLB_PAGE && PAGE_SIZE_64KB
  1570. range 13 64 if HUGETLB_PAGE && PAGE_SIZE_32KB
  1571. default "13" if HUGETLB_PAGE && PAGE_SIZE_32KB
  1572. range 12 64 if HUGETLB_PAGE && PAGE_SIZE_16KB
  1573. default "12" if HUGETLB_PAGE && PAGE_SIZE_16KB
  1574. range 11 64
  1575. default "11"
  1576. help
  1577. The kernel memory allocator divides physically contiguous memory
  1578. blocks into "zones", where each zone is a power of two number of
  1579. pages. This option selects the largest power of two that the kernel
  1580. keeps in the memory allocator. If you need to allocate very large
  1581. blocks of physically contiguous memory, then you may need to
  1582. increase this value.
  1583. This config option is actually maximum order plus one. For example,
  1584. a value of 11 means that the largest free memory block is 2^10 pages.
  1585. The page size is not necessarily 4KB. Keep this in mind
  1586. when choosing a value for this option.
  1587. config BOARD_SCACHE
  1588. bool
  1589. config IP22_CPU_SCACHE
  1590. bool
  1591. select BOARD_SCACHE
  1592. #
  1593. # Support for a MIPS32 / MIPS64 style S-caches
  1594. #
  1595. config MIPS_CPU_SCACHE
  1596. bool
  1597. select BOARD_SCACHE
  1598. config R5000_CPU_SCACHE
  1599. bool
  1600. select BOARD_SCACHE
  1601. config RM7000_CPU_SCACHE
  1602. bool
  1603. select BOARD_SCACHE
  1604. config SIBYTE_DMA_PAGEOPS
  1605. bool "Use DMA to clear/copy pages"
  1606. depends on CPU_SB1
  1607. help
  1608. Instead of using the CPU to zero and copy pages, use a Data Mover
  1609. channel. These DMA channels are otherwise unused by the standard
  1610. SiByte Linux port. Seems to give a small performance benefit.
  1611. config CPU_HAS_PREFETCH
  1612. bool
  1613. config CPU_GENERIC_DUMP_TLB
  1614. bool
  1615. default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
  1616. config CPU_R4K_FPU
  1617. bool
  1618. default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1619. config CPU_R4K_CACHE_TLB
  1620. bool
  1621. default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
  1622. choice
  1623. prompt "MIPS MT options"
  1624. config MIPS_MT_DISABLED
  1625. bool "Disable multithreading support."
  1626. help
  1627. Use this option if your workload can't take advantage of
  1628. MIPS hardware multithreading support. On systems that don't have
  1629. the option of an MT-enabled processor this option will be the only
  1630. option in this menu.
  1631. config MIPS_MT_SMP
  1632. bool "Use 1 TC on each available VPE for SMP"
  1633. depends on SYS_SUPPORTS_MULTITHREADING
  1634. select CPU_MIPSR2_IRQ_VI
  1635. select CPU_MIPSR2_IRQ_EI
  1636. select MIPS_MT
  1637. select NR_CPUS_DEFAULT_2
  1638. select SMP
  1639. select SYS_SUPPORTS_SCHED_SMT if SMP
  1640. select SYS_SUPPORTS_SMP
  1641. select SMP_UP
  1642. select MIPS_PERF_SHARED_TC_COUNTERS
  1643. help
  1644. This is a kernel model which is known a VSMP but lately has been
  1645. marketesed into SMVP.
  1646. Virtual SMP uses the processor's VPEs to implement virtual
  1647. processors. In currently available configuration of the 34K processor
  1648. this allows for a dual processor. Both processors will share the same
  1649. primary caches; each will obtain the half of the TLB for it's own
  1650. exclusive use. For a layman this model can be described as similar to
  1651. what Intel calls Hyperthreading.
  1652. For further information see http://www.linux-mips.org/wiki/34K#VSMP
  1653. config MIPS_MT_SMTC
  1654. bool "SMTC: Use all TCs on all VPEs for SMP"
  1655. depends on CPU_MIPS32_R2
  1656. #depends on CPU_MIPS64_R2 # once there is hardware ...
  1657. depends on SYS_SUPPORTS_MULTITHREADING
  1658. select CPU_MIPSR2_IRQ_VI
  1659. select CPU_MIPSR2_IRQ_EI
  1660. select MIPS_MT
  1661. select NR_CPUS_DEFAULT_8
  1662. select SMP
  1663. select SYS_SUPPORTS_SMP
  1664. select SMP_UP
  1665. help
  1666. This is a kernel model which is known a SMTC or lately has been
  1667. marketesed into SMVP.
  1668. is presenting the available TC's of the core as processors to Linux.
  1669. On currently available 34K processors this means a Linux system will
  1670. see up to 5 processors. The implementation of the SMTC kernel differs
  1671. significantly from VSMP and cannot efficiently coexist in the same
  1672. kernel binary so the choice between VSMP and SMTC is a compile time
  1673. decision.
  1674. For further information see http://www.linux-mips.org/wiki/34K#SMTC
  1675. endchoice
  1676. config MIPS_MT
  1677. bool
  1678. config SCHED_SMT
  1679. bool "SMT (multithreading) scheduler support"
  1680. depends on SYS_SUPPORTS_SCHED_SMT
  1681. default n
  1682. help
  1683. SMT scheduler support improves the CPU scheduler's decision making
  1684. when dealing with MIPS MT enabled cores at a cost of slightly
  1685. increased overhead in some places. If unsure say N here.
  1686. config SYS_SUPPORTS_SCHED_SMT
  1687. bool
  1688. config SYS_SUPPORTS_MULTITHREADING
  1689. bool
  1690. config MIPS_MT_FPAFF
  1691. bool "Dynamic FPU affinity for FP-intensive threads"
  1692. default y
  1693. depends on MIPS_MT_SMP || MIPS_MT_SMTC
  1694. config MIPS_VPE_LOADER
  1695. bool "VPE loader support."
  1696. depends on SYS_SUPPORTS_MULTITHREADING
  1697. select CPU_MIPSR2_IRQ_VI
  1698. select CPU_MIPSR2_IRQ_EI
  1699. select MIPS_MT
  1700. help
  1701. Includes a loader for loading an elf relocatable object
  1702. onto another VPE and running it.
  1703. config MIPS_MT_SMTC_IM_BACKSTOP
  1704. bool "Use per-TC register bits as backstop for inhibited IM bits"
  1705. depends on MIPS_MT_SMTC
  1706. default n
  1707. help
  1708. To support multiple TC microthreads acting as "CPUs" within
  1709. a VPE, VPE-wide interrupt mask bits must be specially manipulated
  1710. during interrupt handling. To support legacy drivers and interrupt
  1711. controller management code, SMTC has a "backstop" to track and
  1712. if necessary restore the interrupt mask. This has some performance
  1713. impact on interrupt service overhead.
  1714. config MIPS_MT_SMTC_IRQAFF
  1715. bool "Support IRQ affinity API"
  1716. depends on MIPS_MT_SMTC
  1717. default n
  1718. help
  1719. Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  1720. for SMTC Linux kernel. Requires platform support, of which
  1721. an example can be found in the MIPS kernel i8259 and Malta
  1722. platform code. Adds some overhead to interrupt dispatch, and
  1723. should be used only if you know what you are doing.
  1724. config MIPS_VPE_LOADER_TOM
  1725. bool "Load VPE program into memory hidden from linux"
  1726. depends on MIPS_VPE_LOADER
  1727. default y
  1728. help
  1729. The loader can use memory that is present but has been hidden from
  1730. Linux using the kernel command line option "mem=xxMB". It's up to
  1731. you to ensure the amount you put in the option and the space your
  1732. program requires is less or equal to the amount physically present.
  1733. # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  1734. config MIPS_VPE_APSP_API
  1735. bool "Enable support for AP/SP API (RTLX)"
  1736. depends on MIPS_VPE_LOADER
  1737. help
  1738. config MIPS_CMP
  1739. bool "MIPS CMP framework support"
  1740. depends on SYS_SUPPORTS_MIPS_CMP
  1741. select SYNC_R4K
  1742. select SYS_SUPPORTS_SMP
  1743. select SYS_SUPPORTS_SCHED_SMT if SMP
  1744. select WEAK_ORDERING
  1745. default n
  1746. help
  1747. This is a placeholder option for the GCMP work. It will need to
  1748. be handled differently...
  1749. config SB1_PASS_1_WORKAROUNDS
  1750. bool
  1751. depends on CPU_SB1_PASS_1
  1752. default y
  1753. config SB1_PASS_2_WORKAROUNDS
  1754. bool
  1755. depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  1756. default y
  1757. config SB1_PASS_2_1_WORKAROUNDS
  1758. bool
  1759. depends on CPU_SB1 && CPU_SB1_PASS_2
  1760. default y
  1761. config 64BIT_PHYS_ADDR
  1762. bool
  1763. config ARCH_PHYS_ADDR_T_64BIT
  1764. def_bool 64BIT_PHYS_ADDR
  1765. config CPU_HAS_SMARTMIPS
  1766. depends on SYS_SUPPORTS_SMARTMIPS
  1767. bool "Support for the SmartMIPS ASE"
  1768. help
  1769. SmartMIPS is a extension of the MIPS32 architecture aimed at
  1770. increased security at both hardware and software level for
  1771. smartcards. Enabling this option will allow proper use of the
  1772. SmartMIPS instructions by Linux applications. However a kernel with
  1773. this option will not work on a MIPS core without SmartMIPS core. If
  1774. you don't know you probably don't have SmartMIPS and should say N
  1775. here.
  1776. config CPU_HAS_WB
  1777. bool
  1778. config XKS01
  1779. bool
  1780. #
  1781. # Vectored interrupt mode is an R2 feature
  1782. #
  1783. config CPU_MIPSR2_IRQ_VI
  1784. bool
  1785. #
  1786. # Extended interrupt mode is an R2 feature
  1787. #
  1788. config CPU_MIPSR2_IRQ_EI
  1789. bool
  1790. config CPU_HAS_SYNC
  1791. bool
  1792. depends on !CPU_R3000
  1793. default y
  1794. #
  1795. # CPU non-features
  1796. #
  1797. config CPU_DADDI_WORKAROUNDS
  1798. bool
  1799. config CPU_R4000_WORKAROUNDS
  1800. bool
  1801. select CPU_R4400_WORKAROUNDS
  1802. config CPU_R4400_WORKAROUNDS
  1803. bool
  1804. #
  1805. # - Highmem only makes sense for the 32-bit kernel.
  1806. # - The current highmem code will only work properly on physically indexed
  1807. # caches such as R3000, SB1, R7000 or those that look like they're virtually
  1808. # indexed such as R4000/R4400 SC and MC versions or R10000. So for the
  1809. # moment we protect the user and offer the highmem option only on machines
  1810. # where it's known to be safe. This will not offer highmem on a few systems
  1811. # such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  1812. # indexed CPUs but we're playing safe.
  1813. # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  1814. # know they might have memory configurations that could make use of highmem
  1815. # support.
  1816. #
  1817. config HIGHMEM
  1818. bool "High Memory Support"
  1819. depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
  1820. config CPU_SUPPORTS_HIGHMEM
  1821. bool
  1822. config SYS_SUPPORTS_HIGHMEM
  1823. bool
  1824. config SYS_SUPPORTS_SMARTMIPS
  1825. bool
  1826. config ARCH_FLATMEM_ENABLE
  1827. def_bool y
  1828. depends on !NUMA && !CPU_LOONGSON2
  1829. config ARCH_DISCONTIGMEM_ENABLE
  1830. bool
  1831. default y if SGI_IP27
  1832. help
  1833. Say Y to support efficient handling of discontiguous physical memory,
  1834. for architectures which are either NUMA (Non-Uniform Memory Access)
  1835. or have huge holes in the physical address space for other reasons.
  1836. See <file:Documentation/vm/numa> for more.
  1837. config ARCH_SPARSEMEM_ENABLE
  1838. bool
  1839. select SPARSEMEM_STATIC
  1840. config NUMA
  1841. bool "NUMA Support"
  1842. depends on SYS_SUPPORTS_NUMA
  1843. help
  1844. Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  1845. Access). This option improves performance on systems with more
  1846. than two nodes; on two node systems it is generally better to
  1847. leave it disabled; on single node systems disable this option
  1848. disabled.
  1849. config SYS_SUPPORTS_NUMA
  1850. bool
  1851. config NODES_SHIFT
  1852. int
  1853. default "6"
  1854. depends on NEED_MULTIPLE_NODES
  1855. config HW_PERF_EVENTS
  1856. bool "Enable hardware performance counter support for perf events"
  1857. depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
  1858. default y
  1859. help
  1860. Enable hardware performance counter support for perf events. If
  1861. disabled, perf events will use software events only.
  1862. source "mm/Kconfig"
  1863. config SMP
  1864. bool "Multi-Processing support"
  1865. depends on SYS_SUPPORTS_SMP
  1866. select USE_GENERIC_SMP_HELPERS
  1867. help
  1868. This enables support for systems with more than one CPU. If you have
  1869. a system with only one CPU, like most personal computers, say N. If
  1870. you have a system with more than one CPU, say Y.
  1871. If you say N here, the kernel will run on single and multiprocessor
  1872. machines, but will use only one CPU of a multiprocessor machine. If
  1873. you say Y here, the kernel will run on many, but not all,
  1874. singleprocessor machines. On a singleprocessor machine, the kernel
  1875. will run faster if you say N here.
  1876. People using multiprocessor machines who say Y here should also say
  1877. Y to "Enhanced Real Time Clock Support", below.
  1878. See also the SMP-HOWTO available at
  1879. <http://www.tldp.org/docs.html#howto>.
  1880. If you don't know what to do here, say N.
  1881. config SMP_UP
  1882. bool
  1883. config SYS_SUPPORTS_MIPS_CMP
  1884. bool
  1885. config SYS_SUPPORTS_SMP
  1886. bool
  1887. config NR_CPUS_DEFAULT_1
  1888. bool
  1889. config NR_CPUS_DEFAULT_2
  1890. bool
  1891. config NR_CPUS_DEFAULT_4
  1892. bool
  1893. config NR_CPUS_DEFAULT_8
  1894. bool
  1895. config NR_CPUS_DEFAULT_16
  1896. bool
  1897. config NR_CPUS_DEFAULT_32
  1898. bool
  1899. config NR_CPUS_DEFAULT_64
  1900. bool
  1901. config NR_CPUS
  1902. int "Maximum number of CPUs (2-64)"
  1903. range 1 64 if NR_CPUS_DEFAULT_1
  1904. depends on SMP
  1905. default "1" if NR_CPUS_DEFAULT_1
  1906. default "2" if NR_CPUS_DEFAULT_2
  1907. default "4" if NR_CPUS_DEFAULT_4
  1908. default "8" if NR_CPUS_DEFAULT_8
  1909. default "16" if NR_CPUS_DEFAULT_16
  1910. default "32" if NR_CPUS_DEFAULT_32
  1911. default "64" if NR_CPUS_DEFAULT_64
  1912. help
  1913. This allows you to specify the maximum number of CPUs which this
  1914. kernel will support. The maximum supported value is 32 for 32-bit
  1915. kernel and 64 for 64-bit kernels; the minimum value which makes
  1916. sense is 1 for Qemu (useful only for kernel debugging purposes)
  1917. and 2 for all others.
  1918. This is purely to save memory - each supported CPU adds
  1919. approximately eight kilobytes to the kernel image. For best
  1920. performance should round up your number of processors to the next
  1921. power of two.
  1922. config MIPS_PERF_SHARED_TC_COUNTERS
  1923. bool
  1924. #
  1925. # Timer Interrupt Frequency Configuration
  1926. #
  1927. choice
  1928. prompt "Timer frequency"
  1929. default HZ_250
  1930. help
  1931. Allows the configuration of the timer frequency.
  1932. config HZ_48
  1933. bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
  1934. config HZ_100
  1935. bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  1936. config HZ_128
  1937. bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  1938. config HZ_250
  1939. bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  1940. config HZ_256
  1941. bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  1942. config HZ_1000
  1943. bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  1944. config HZ_1024
  1945. bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  1946. endchoice
  1947. config SYS_SUPPORTS_48HZ
  1948. bool
  1949. config SYS_SUPPORTS_100HZ
  1950. bool
  1951. config SYS_SUPPORTS_128HZ
  1952. bool
  1953. config SYS_SUPPORTS_250HZ
  1954. bool
  1955. config SYS_SUPPORTS_256HZ
  1956. bool
  1957. config SYS_SUPPORTS_1000HZ
  1958. bool
  1959. config SYS_SUPPORTS_1024HZ
  1960. bool
  1961. config SYS_SUPPORTS_ARBIT_HZ
  1962. bool
  1963. default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
  1964. !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
  1965. !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
  1966. !SYS_SUPPORTS_1024HZ
  1967. config HZ
  1968. int
  1969. default 48 if HZ_48
  1970. default 100 if HZ_100
  1971. default 128 if HZ_128
  1972. default 250 if HZ_250
  1973. default 256 if HZ_256
  1974. default 1000 if HZ_1000
  1975. default 1024 if HZ_1024
  1976. source "kernel/Kconfig.preempt"
  1977. config KEXEC
  1978. bool "Kexec system call"
  1979. help
  1980. kexec is a system call that implements the ability to shutdown your
  1981. current kernel, and to start another kernel. It is like a reboot
  1982. but it is independent of the system firmware. And like a reboot
  1983. you can start any kernel with it, not just Linux.
  1984. The name comes from the similarity to the exec system call.
  1985. It is an ongoing process to be certain the hardware in a machine
  1986. is properly shutdown, so do not be surprised if this code does not
  1987. initially work for you. It may help to enable device hotplugging
  1988. support. As of this writing the exact hardware interface is
  1989. strongly in flux, so no good recommendation can be made.
  1990. config CRASH_DUMP
  1991. bool "Kernel crash dumps"
  1992. help
  1993. Generate crash dump after being started by kexec.
  1994. This should be normally only set in special crash dump kernels
  1995. which are loaded in the main kernel with kexec-tools into
  1996. a specially reserved region and then later executed after
  1997. a crash by kdump/kexec. The crash dump kernel must be compiled
  1998. to a memory address not used by the main kernel or firmware using
  1999. PHYSICAL_START.
  2000. config PHYSICAL_START
  2001. hex "Physical address where the kernel is loaded"
  2002. default "0xffffffff84000000" if 64BIT
  2003. default "0x84000000" if 32BIT
  2004. depends on CRASH_DUMP
  2005. help
  2006. This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
  2007. If you plan to use kernel for capturing the crash dump change
  2008. this value to start of the reserved region (the "X" value as
  2009. specified in the "crashkernel=YM@XM" command line boot parameter
  2010. passed to the panic-ed kernel).
  2011. config SECCOMP
  2012. bool "Enable seccomp to safely compute untrusted bytecode"
  2013. depends on PROC_FS
  2014. default y
  2015. help
  2016. This kernel feature is useful for number crunching applications
  2017. that may need to compute untrusted bytecode during their
  2018. execution. By using pipes or other transports made available to
  2019. the process as file descriptors supporting the read/write
  2020. syscalls, it's possible to isolate those applications in
  2021. their own address space using seccomp. Once seccomp is
  2022. enabled via /proc/<pid>/seccomp, it cannot be disabled
  2023. and the task is only allowed to execute a few safe syscalls
  2024. defined by each seccomp mode.
  2025. If unsure, say Y. Only embedded should say N here.
  2026. config USE_OF
  2027. bool
  2028. select OF
  2029. select OF_EARLY_FLATTREE
  2030. select IRQ_DOMAIN
  2031. endmenu
  2032. config LOCKDEP_SUPPORT
  2033. bool
  2034. default y
  2035. config STACKTRACE_SUPPORT
  2036. bool
  2037. default y
  2038. source "init/Kconfig"
  2039. source "kernel/Kconfig.freezer"
  2040. menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
  2041. config HW_HAS_EISA
  2042. bool
  2043. config HW_HAS_PCI
  2044. bool
  2045. config PCI
  2046. bool "Support for PCI controller"
  2047. depends on HW_HAS_PCI
  2048. select PCI_DOMAINS
  2049. select GENERIC_PCI_IOMAP
  2050. select NO_GENERIC_PCI_IOPORT_MAP
  2051. help
  2052. Find out whether you have a PCI motherboard. PCI is the name of a
  2053. bus system, i.e. the way the CPU talks to the other stuff inside
  2054. your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  2055. say Y, otherwise N.
  2056. config PCI_DOMAINS
  2057. bool
  2058. source "drivers/pci/Kconfig"
  2059. source "drivers/pci/pcie/Kconfig"
  2060. #
  2061. # ISA support is now enabled via select. Too many systems still have the one
  2062. # or other ISA chip on the board that users don't know about so don't expect
  2063. # users to choose the right thing ...
  2064. #
  2065. config ISA
  2066. bool
  2067. config EISA
  2068. bool "EISA support"
  2069. depends on HW_HAS_EISA
  2070. select ISA
  2071. select GENERIC_ISA_DMA
  2072. ---help---
  2073. The Extended Industry Standard Architecture (EISA) bus was
  2074. developed as an open alternative to the IBM MicroChannel bus.
  2075. The EISA bus provided some of the features of the IBM MicroChannel
  2076. bus while maintaining backward compatibility with cards made for
  2077. the older ISA bus. The EISA bus saw limited use between 1988 and
  2078. 1995 when it was made obsolete by the PCI bus.
  2079. Say Y here if you are building a kernel for an EISA-based machine.
  2080. Otherwise, say N.
  2081. source "drivers/eisa/Kconfig"
  2082. config TC
  2083. bool "TURBOchannel support"
  2084. depends on MACH_DECSTATION
  2085. help
  2086. TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  2087. processors. TURBOchannel programming specifications are available
  2088. at:
  2089. <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  2090. and:
  2091. <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  2092. Linux driver support status is documented at:
  2093. <http://www.linux-mips.org/wiki/DECstation>
  2094. config MMU
  2095. bool
  2096. default y
  2097. config I8253
  2098. bool
  2099. select CLKSRC_I8253
  2100. select CLKEVT_I8253
  2101. select MIPS_EXTERNAL_TIMER
  2102. config ZONE_DMA32
  2103. bool
  2104. source "drivers/pcmcia/Kconfig"
  2105. source "drivers/pci/hotplug/Kconfig"
  2106. config RAPIDIO
  2107. bool "RapidIO support"
  2108. depends on PCI
  2109. default n
  2110. help
  2111. If you say Y here, the kernel will include drivers and
  2112. infrastructure code to support RapidIO interconnect devices.
  2113. source "drivers/rapidio/Kconfig"
  2114. endmenu
  2115. menu "Executable file formats"
  2116. source "fs/Kconfig.binfmt"
  2117. config TRAD_SIGNALS
  2118. bool
  2119. config MIPS32_COMPAT
  2120. bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
  2121. depends on 64BIT
  2122. help
  2123. Select this option if you want Linux/MIPS 32-bit binary
  2124. compatibility. Since all software available for Linux/MIPS is
  2125. currently 32-bit you should say Y here.
  2126. config COMPAT
  2127. bool
  2128. depends on MIPS32_COMPAT
  2129. select ARCH_WANT_OLD_COMPAT_IPC
  2130. default y
  2131. config SYSVIPC_COMPAT
  2132. bool
  2133. depends on COMPAT && SYSVIPC
  2134. default y
  2135. config MIPS32_O32
  2136. bool "Kernel support for o32 binaries"
  2137. depends on MIPS32_COMPAT
  2138. help
  2139. Select this option if you want to run o32 binaries. These are pure
  2140. 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
  2141. existing binaries are in this format.
  2142. If unsure, say Y.
  2143. config MIPS32_N32
  2144. bool "Kernel support for n32 binaries"
  2145. depends on MIPS32_COMPAT
  2146. help
  2147. Select this option if you want to run n32 binaries. These are
  2148. 64-bit binaries using 32-bit quantities for addressing and certain
  2149. data that would normally be 64-bit. They are used in special
  2150. cases.
  2151. If unsure, say N.
  2152. config BINFMT_ELF32
  2153. bool
  2154. default y if MIPS32_O32 || MIPS32_N32
  2155. endmenu
  2156. menu "Power management options"
  2157. config ARCH_HIBERNATION_POSSIBLE
  2158. def_bool y
  2159. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2160. config ARCH_SUSPEND_POSSIBLE
  2161. def_bool y
  2162. depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
  2163. source "kernel/power/Kconfig"
  2164. endmenu
  2165. source "arch/mips/kernel/cpufreq/Kconfig"
  2166. source "net/Kconfig"
  2167. source "drivers/Kconfig"
  2168. source "drivers/firmware/Kconfig"
  2169. source "fs/Kconfig"
  2170. source "arch/mips/Kconfig.debug"
  2171. source "security/Kconfig"
  2172. source "crypto/Kconfig"
  2173. source "lib/Kconfig"