Kconfig 51 KB

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