Kconfig 52 KB

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