Kconfig 51 KB

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