Kconfig 61 KB

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